Asked
— Edited

Hello,
I finished putting together my 1st set of actions and scripts to be executed from the mobile app. All of my actions execute perfectly, but none of my buttons that trigger scripts are working from the mobile app (all buttons script & action work fine while executing from the computer).
Attached I have provided my program, if someone can tell me what I'm doing wrong that will be great.
Thanks.1st-day-in-class.EZB
Code:
What you should do is specify a pause that is dependent on how long you think you're action will run. like so...
Code:
I know it may sound strange, but actually all buttons do work on my Windows environment. I put together a short video showing everything:
Scripts working in Windows
I will add the sleep commands, as you advised. Thanks for pointing that out, it makes sense that they are needed.
Unless you're still wanting to use the scripting method for education, do this to ensure the script is done before executing the next script.. This will only work for actions that do not repeat for ever. For action that repeat for ever, use a Sleep()
Code:
I finally had an opportunity to make the recommended updates, but when I try to download my updated app, I get an "Unable to connect to EZ-Cloud" error. My mobile device is connected to the web and I have never had this problem before.
Any thoughts?
Also, here's an even better way...
*Note: using the WaitFor() with an Auto Position Action assumes the action is not set to repeat for ever. The WAitFor() example below waits for the action to complete. If the action is set to run for ever, it will never complete
Code:
Thank you very much for taking time to assist.