Jump to content
Macro Express Forums

Add logic commands: "if macro running" and "if macro not running" ?


Recommended Posts

Hi you could achieve this by creating/updating an environment variable which is readable by other macros, for instance, MacroAisRunning=YES. The relevant commands are:

 

Variable Modify String -> Save to Environment Variable

 

Variable Set String -> Set from an Environment Variable

 

For example if you have Macro A and Macro B, you can get Macro A to set MacroAisRunning=YES right after it is launched. Macro B can read this environment variable to check if Macro A is running. Remember to set MacroAisRunning=NO before terminating Macro A.

 

You can also achieve this by saving macro statuses to INI files or text files, though this requires disk access.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...