back soft

مطالب مرتبط با «how to create an app» در back soft | نویسنده: استخدام کار

How to create a new document from the current document using Javascript and Lotusscript

Vote count: 0 I am trying to create a new document wherein some of the field values would come from the current document. Note that current document is not in edit mode. There are three buttons in the current document: Edit Document //Validate inputs myForm = window.document.forms[0] myForm.Refresh.click() myForm.Edit.click() Add Guest //Validate inputs myForm = window.document.forms[0] myForm.AddGuest.click() Close myForm = window.document.forms[0] myForm.Close.click() Once the Add Guest button is clicked, it must be able to access the lotusscript agent which can be found in another hidden button, "AddGuest". @Command([ToolsRunMacro]; "AddGuests") Once the Add Guest button's clicked, there ...

ادامه مطلب

How to create async.auto-like promises chain?

Vote count: 0 Here is the code I have: async.auto({ client: service.findCLient, existingChat: ['client', service.findChat], chat: ['client', 'existingChat', service.createChat] }, (err) => { if (err) retu service.handleError(err); service.emitChatEvent(); service.editMenu(); }); What is the best way to handle it by using Bluebird Promises? asked 40 secs agoLeestex Let's block ads!...

ادامه مطلب

how to create a event after an event in appcelrator

Vote count: 0 I am trying to repurpose code to create a custom progress bar - but I am unable to understand how to make the final change. The current implementation does the progress bar. what I would like is for the progress bar to update the text and then disappear on it's own. var win = Ti.UI.createWindow({ backgroundColor: 'white', }); var label1 = Ti.UI.createLabel({ text: 'Working on it...', textAlign:'center', }); var track = Ti.UI.createView({ width: "60%", height: "20%", borderRadius:40, backgroundColor: 'red' }); var progress = Ti.UI.createView({ borderRadius:40, left: 0, width: 5, height: "100%", backgroundColor : "green" }); track.add(progress); track.add(label1); win.add(track);...

ادامه مطلب