brad6499 Posted November 8, 2007 Report Share Posted November 8, 2007 Hello! I'm back with a new problem. I hope someone has seen this before and knows a (simple) workaround.I am running specific macros that are called from another program when certain parameters are met (through the: [C:\Program Files\Macro Express3\MeProc.exe /A**MEX Name**] code). This program doesn't only send the "run" command once, it continues to send the "run" command until the parameters are no longer met. This is fine when the same macro is being called, but my problem arises when A DIFFERENT macro is called out while the first one is still running.For example, lets say I am running Macro A because specified parameters in the other program were met for that to happen. In the middle of Macro A carrying out its tasks, the other program obtains new data (i.e. from a DDE link) and now new specified parameters are met, triggering the program to call out Macro B. Because Macro Express cannot run two macros at the same time, nothing happens to interrupt Macro A (which is fine.) Now let's say that after this happens, the other program's data changes so NO parameters are met to run any macros. Sometime thereafter, Macro A completes its tasks and ends, freeing up Macro Express. Now here's the issue: Even though the other program had STOPPED sending the "run Macro B" command much earlier - Macro Express automatically runs Macro B as soon as Macro A has completed. This has caused me a lot of headaches because if the parameters from the other program are no longer met, I can't have it running the macros late.Is there some way to prevent this? I don't know how to use the registry functions and unless it is absolutely required, I really don't have the time to thoroughly pick that up. I'm hoping there's a setting somewhere in MEX to automatically clear out the "macro waiting" cache or simply prevent "stacking" MEX run commands indefinitely until MEX is freed up. Please help!Thanks -- Brad Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.