Search found 9 matches

by Mitch
Tue Jun 02, 2020 5:49 pm
Forum: Scripts and Tips
Topic: Combining scripts
Replies: 1
Views: 8640

Combining scripts

I'm starting to write smaller scripts and then call them from another script. The hurdle I'm running into is the scripts often have issues when ran in sequence despite the fact they run cleanly individually. My assumption is that my script is still holding down Alt or Shift or something goofy and as...
by Mitch
Wed May 27, 2020 7:33 pm
Forum: Scripts and Tips
Topic: Creating a "cleanup script"
Replies: 3
Views: 10373

Re: Creating a "cleanup script"

So clean. So nice. So appreciated. :) Thank you!!!!
by Mitch
Tue May 26, 2020 9:11 pm
Forum: Scripts and Tips
Topic: Creating a "cleanup script"
Replies: 3
Views: 10373

Re: Creating a "cleanup script"

ok... so GetWindowList can generate a list of open windows....

I guess I'll attempt to loop through the list and clean up from there (unless any better suggestions come though in the meantime)
by Mitch
Tue May 26, 2020 8:50 pm
Forum: Scripts and Tips
Topic: Creating a "cleanup script"
Replies: 3
Views: 10373

Creating a "cleanup script"

My scripts open browser windows, download files, open them in excel, saves them as ____-, and when everything works correctly, it closes all the windows as it goes. On occasion, something goes wrong and one of the windows will remain open. While I know I can create scripts with specific steps for ea...
by Mitch
Tue May 12, 2020 6:02 pm
Forum: Technical / Scripting
Topic: Fighting the endless loop
Replies: 4
Views: 3446

Re: Fighting the endless loop

And forgive me for not saying it already but thank you for taking the time to help. I really do appreciate it.
by Mitch
Tue May 12, 2020 6:01 pm
Forum: Technical / Scripting
Topic: Fighting the endless loop
Replies: 4
Views: 3446

Re: Fighting the endless loop

My issues is time based but correct me if I'm wrong but if the script is stuck in an endless loop, then wouldn't the following code not get an opportunity to run?

Timer>endTime
Let>elapsed_seconds={(%endTime%-%startTime%)/1000}
If>elapsed_seconds>600
exit / call another macro
Endif
by Mitch
Tue May 12, 2020 3:34 pm
Forum: Technical / Scripting
Topic: Fighting the endless loop
Replies: 4
Views: 3446

Fighting the endless loop

Is there any method to stop a script (automatically) if it runs for too long (a pre-determined amount of time)? Or to start a 2nd script if the first script runs for too long? As my scripts get more complicated, I randomly have one end up in an endless loop. Our fix to the endless loop is always the...
by Mitch
Thu Apr 23, 2020 1:02 pm
Forum: Beginners
Topic: Opening a URL containing a % symbol
Replies: 3
Views: 5774

Re: Opening a URL containing a % symbol

Thank you so much. I will put this to good use. :D
by Mitch
Wed Apr 22, 2020 9:27 pm
Forum: Beginners
Topic: Opening a URL containing a % symbol
Replies: 3
Views: 5774

Opening a URL containing a % symbol

I just learned that I can use ExecuteFile> on a url to launch a web page and this would make my code a lot simpler, but how do I put a % symbol in that string without the system assuming its marking a variable? Previously i was opening a web page by launching the browser, clicking the url line, and ...
Sign up to our newsletter for free automation tips, tricks & discounts