jowensii Posted September 23, 2004 Report Share Posted September 23, 2004 Anybody have any suggestions as to why I cannot start a playable macro (MXE) from a regular macro. My macro uses a Mulitple Choic Menu that provides a list of macros to choose to run. The playable macro is stored on the network. Here is what I have: Multiple Choice Menu: Track-It! Switchboard Switch (T1) Case: &Upload from PDT. Program Launch: "MacExp.exe" End Case Case: &Add inventory to Track-It! Program Launch: "MacExp.exe" End Case End Switch Launch Macro #1 <LAUNCHDEL2:2:01C:\Program Files\Macro Express3\MacExp.exe<PARAM>/MXEN:\Info Resources\Track-It\MacEx\Track-It_PDT Comm.mxe> Launch Macro #2 <LAUNCHDEL2:2:01C:\Program Files\Macro Express3\MacExp.exe<PARAM>/MXEN:\Info Resources\Track-It\MacEx\Track-It_New Inventory.mxe> I have tried placing the path of the playable macro within quotes but that didn't help. Quote Link to comment Share on other sites More sharing options...
joe Posted September 23, 2004 Report Share Posted September 23, 2004 Hello! Macro Express is already launched and running so launching another instance does not work. To run a playable macro simply use the Macro Load Text File command in place of the Program Launch command. Load Macro Text File: "Track-It_PDT Comm.mxe" Load Macro Text File: "Track-It_New Inventory.mxe" <TFILE:N:\Info Resources\Track-It\MacEx\Track-It_PDT Comm.mxe><TFILE:N:\Info Resources\Track-It\MacEx\Track-It_New Inventory.mxe> Quote Link to comment Share on other sites More sharing options...
kevin Posted September 24, 2004 Report Share Posted September 24, 2004 It is okay to run macexp.exe with different parameters to launch a macro, even when Macro Express is already running. However, it is a little faster to use meproc.exe instead of macexp.exe. But, this was designed to allow other programs (batch files, C++, Delphi, VB, FoxPro, etc.) to run macros. The reason this is not working is that Macro Express will only run one macro at a time. Since one macro is already running when an attempt is made to run another macro, it fails. One solution is to put your playable macros in your macro library. Another solution, as Joe suggests, is to run your playable macros with the Load Macro Text File command. Quote Link to comment Share on other sites More sharing options...
jowensii Posted September 24, 2004 Author Report Share Posted September 24, 2004 Thanks, that did the trick. I knew that command was there but have never used it before and so it never crossed my mind to use. This is a fantastic forum. I haven't seen to many forum were hardly a post goes unanswered. The group here is awesome. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.