Simultaneous Macros with mousemoves

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
KevinWhiz2

Simultaneous Macros with mousemoves

Post by KevinWhiz2 » Sun Jan 30, 2005 1:50 pm

Through experimentation, it appears to me as though two macros cannot be run simultaneously. I think I have discovered through simple experimentation that if a macro is running, and you use a hotkey to start a second macro, the first macro will pause until the second macro is finished. Can anyone :?: verify this for me?

I have one or more further questions once this first question has been answered.

Thank you,
KevinWhiz

armsys
Automation Wizard
Posts: 1108
Joined: Wed Dec 04, 2002 10:28 am
Location: Hong Kong

Post by armsys » Sun Jan 30, 2005 3:56 pm

Multiple Macro Scheduler scripts can run concurrently unless, in rare case, a script contains Set>RP_WAIT=1.

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Sun Jan 30, 2005 5:18 pm

You can run macros simultaneously but it is often inadvisable. Any macros which send keyboard and/or mouse events and interract with windows need exclusive use of the console. Another macro sending keystrokes/mouse events and focusing windows will interfere with it - just as if you had two people trying to use the same computer at once.
MJT Net Support
[email protected]

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Sun Jan 30, 2005 7:00 pm

You will need extensive use of SetFocus> WaitReady> if using any Mouse> or Send> or Press commands. Would strongly advise against multiple macros running at same time where BOTH require these commands.

If just doing data parsing, file copy/delete, send email, ftp downloads, etc in background that can frequently be OK, Need to be properly programmed to anitcipate error messages that may pop up and require manual input. Be prepared for the unexpected with operator input types of commands.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

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