How to repeat "same" script

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
Mlrs327
Newbie
Posts: 7
Joined: Wed Oct 31, 2018 10:39 pm

How to repeat "same" script

Post by Mlrs327 » Wed Oct 31, 2018 10:45 pm

New here, love the product. I have a script that is about 1000 lines, its full of GoTo and Labels...is there any way I can copy this 1000 line script, change only the login information, and not have any Label conflicts? This is for logging into many accounts but they all use the exact same script I already wrote.

User avatar
Marcus Tettmar
Site Admin
Posts: 7378
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: How to repeat "same" script

Post by Marcus Tettmar » Fri Nov 02, 2018 4:07 pm

You can loop a number of ways. See:
https://help.mjtnet.com/article/144-how ... p-the-loop
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Mlrs327
Newbie
Posts: 7
Joined: Wed Oct 31, 2018 10:39 pm

Re: How to repeat "same" script

Post by Mlrs327 » Sun Nov 04, 2018 5:33 pm

Awesome, thanks..got it figured out nicely

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts