Can I keep two or more macros running in the same breath?
If I put a macro for running at, say, all Mondays 8.00 a.m., what happens if I compile it?
Regards
Several macros
Moderators: JRL, Dorian (MJT support)
Eric D,
With due respect, are you sure multiple Macro scirpts can be run simultaneously? Or just various Macro scripts are run separately and respectively in a different time slot, one after another?
In theory, Macro script is supposed to simulate keystrokes. Theorectically, if multiple scripts are allowed to run simultaneously, it will result into chaos to applications.
Hope Mr Support will pronounce his official clarification soon.
With due respect, are you sure multiple Macro scirpts can be run simultaneously? Or just various Macro scripts are run separately and respectively in a different time slot, one after another?
In theory, Macro script is supposed to simulate keystrokes. Theorectically, if multiple scripts are allowed to run simultaneously, it will result into chaos to applications.
Hope Mr Support will pronounce his official clarification soon.
Hi,
Armstrong, you are correct if the macros are of the GUI automation type you describe and issue keystrokes and mouse events etc. Clearly they would interfere with each other - rather like if two people tried to use the same computer and kept stealing the mouse from each other and trying to type on the same keyboard - chaos!
However, some macros don't do any GUI automation, so wouldn't pose a problem and there is no reason why these can't run at the same time.
Armstrong, you are correct if the macros are of the GUI automation type you describe and issue keystrokes and mouse events etc. Clearly they would interfere with each other - rather like if two people tried to use the same computer and kept stealing the mouse from each other and trying to type on the same keyboard - chaos!
However, some macros don't do any GUI automation, so wouldn't pose a problem and there is no reason why these can't run at the same time.
MJT Net Support
[email protected]
[email protected]
You beat me to that one Support...support wrote:Hi,
Armstrong, you are correct if the macros are of the GUI automation type you describe and issue keystrokes and mouse events etc. Clearly they would interfere with each other - rather like if two people tried to use the same computer and kept stealing the mouse from each other and trying to type on the same keyboard - chaos!
However, some macros don't do any GUI automation, so wouldn't pose a problem and there is no reason why these can't run at the same time.
All of my scripts that run simutaneously are NOT keystoke oriented. They are all command based. Therefore I dont have the issues of competing scripts. They are mostly file cleanup and FTP.
Eric
That is a good idea. We take it one step further. On our dedicated Macro/Script machines we remove the keyboards...armsys wrote:Hi Support,
Thanks for your rapid reply demystifying the issue.
Hi Eric D,
Thanks for response. After several close calls, I'm now conditioned not to touch my keyboard when a Macro script is running.
