Jump to content
Macro Express Forums

How Can I Run A Macro From A Command Line?


JakeARoonie

Recommended Posts

Hi, I'd like to be able to use Trillian Pro's "word matching" feature or find some other way to activate a macro in response to a received IM. Trillian's word matcher automatically scans for words, and the most "custom" thing it can do is run a program and have arguments on the command line. So is there a way to have it run the Macro Express executable with an argument after that to specify a macro?

 

OR, is there another, easier way to accomplish this just with Macro Express?

Link to comment
Share on other sites

This should do it

"c:\Program Files\Macro Express3\meproc.exe" /AMyMacroName

If you want to pass variables into the macro when you call it do this

"c:\Program Files\Macro Express3\meproc.exe" /AMyMacroName /VT2:String Variable

and then put a Variable Restore All macro command at the top of your macro (MyMacroName).

 

Notes:

- Adjust the path if Macro Express is installed in other than the default folder.

- Change MyMacroName to the name of your macro.

- Make sure that you do not have more than one macro with the same name.

- Look in the Command Line Parameters topic in the Macro Express Help for more information.

- The Knowledgebase article It seems that meproc.exe was... has a description of meproc.exe.

 

There are also ways to execute macros using windows messages. Look in the Macro Express help or search this forum for more information.

Link to comment
Share on other sites

Thank you! Alternatively, I also noticed that I had completely missed the "Export as Playable Macro" function, so I can run the macro itself as an executable as long as ME is installed on the system I'm running that on. Works pretty well for me. Thank you again. :) I will probably be posting another question soon for tips on doing the exact thing I want...just try not to get too advanced on me, hehe.

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...