Running macros on separate users

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
remediation-experts
Newbie
Posts: 5
Joined: Wed May 11, 2016 9:45 pm

Running macros on separate users

Post by remediation-experts » Fri Jun 17, 2016 4:33 pm

Hey there everyone. I just recently had the idea to run scheduled macros on separate users! I've had some success in some areas, but this one macro in-particular is giving me some trouble.

I am trying to launch my text editor in different user accounts so they run 15 minutes after one another. The macro will launch the program, but will not go any further into the process. I am uncertain but I think its because its mainly keyboard commands! If I launch the macro while logged in it runs fine and has no problems. So does anyone have any idea how I can achieve this?

User avatar
JRL
Automation Wizard
Posts: 3531
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

3000

Post by JRL » Fri Jun 17, 2016 7:22 pm

Some ideas HERE. The thread is 6 years old and today's operating systems may not work the same.

I have two questions for you. First, I don't see an advantage to running scripts for multiple users, why is it advantageous? And second, if you are really scripting a text editor and that's not just an example for your testing, why not deal with the text files directly which negates the need for a user interface? The user interface is your enemy when running scripts while logged out.

remediation-experts
Newbie
Posts: 5
Joined: Wed May 11, 2016 9:45 pm

Re: Running macros on separate users

Post by remediation-experts » Fri Jun 17, 2016 9:16 pm

Thanks for the reply JRL! The thing is, I am changing a lot of files and I perceived that the only way to change one thing in a bunch of files was through a text editor! I currently want several users to be running changes on these files so I do not have to run them one after another. If there is a way to do this in the background I would be more then willing to give it a shot! Thanks in advance!

User avatar
JRL
Automation Wizard
Posts: 3531
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Re: Running macros on separate users

Post by JRL » Fri Jun 17, 2016 9:21 pm

Either post or PM an example of what you want to accomplish and I'll try to help you. Though at this point, I likely won't see a computer again until Monday.

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