stackexchange Posted January 16, 2013 Report Share Posted January 16, 2013 how to kill a macro without clicking on green icon? I used to do it but i forgot what was the key. This tip isnt very easily documented as it seems. Quote Link to comment Share on other sites More sharing options...
Cory Posted January 16, 2013 Report Share Posted January 16, 2013 It depends on your configuration. Preferences > Miscellaneous tab > HotKeys section. Default is ScrollLock+Pause. I don't like this setting however and usually change mine to Break (CTRL+Pause) and Pause for pause. Seems more intuitive. Quote Link to comment Share on other sites More sharing options...
acantor Posted January 18, 2013 Report Share Posted January 18, 2013 There are situations when the hotkey will not stop a running macro. In that case, it's good to have another way to bail out. I use taskkill.exe. I have a desktop shortcut that runs taskkill C:\Program Files (x86)\Macro Express Pro\MacExp.exe, I have assigned it to a hotkey (via the shortcut's Properties) so that taskkill can be activated without the need to minimize anything. Quote Link to comment Share on other sites More sharing options...
Alexis Posted January 26, 2013 Report Share Posted January 26, 2013 Dear Alan, please could you describe more detailed how you kill macexp.exe via the taskkill.exe. You are so right! In many cases the hotkeys of Macro Express simply don´t work. Sometimes i have to restart my pc!!! Thank You Alexandra Quote Link to comment Share on other sites More sharing options...
acantor Posted January 27, 2013 Report Share Posted January 27, 2013 Right click the desktop, and choose "New" and then "Shortcut." For the "location," type this: taskkill /f /im macexp.exe For the "name", type whatever you want, but maybe this would be good: End Macro Express! If you want to be able to access the shortcut without minimizing any windows, assign a shortcut key: go the Properties for the shortcut, and specify a "shortcut key." F10 is a safe bet, and conflicts with few program-specific hotkeys. Quote Link to comment Share on other sites More sharing options...
Alexis Posted January 28, 2013 Report Share Posted January 28, 2013 Works. 1001 Thanks!! I hope this will be more reliable as Scroll-Lock + Pause!! BTW, i like to see Forrest indicating Macros running. But i have to adjust all the time that it´s beeing displayed (Symbol & Notifications on). Sometimes in the window where you adjust this there are 2 Forrests!! Whatever i adjust there Forrest keeps vanishing! Thank You Alexandra Quote Link to comment Share on other sites More sharing options...
acantor Posted January 29, 2013 Report Share Posted January 29, 2013 I'm glad it works, but it really is only for emergency situations, when a macro locks up your system. The downside is that you must restart Macro Express afterwards. But that is preferable, I think, to rebooting the computer.Some icons in the system tray do Not get updated right away. The "solution" is to hover the mouse pointer over the older of the two Macro Express icons. This extra icon will usually vanish after a few seconds. Quote Link to comment Share on other sites More sharing options...
paul Posted January 29, 2013 Report Share Posted January 29, 2013 The downside is that you must restart Macro Express afterwards. But that is preferable, I think, to rebooting the computer. Well, instead of invoking TaskKill, simply invoke a batch file whose last command restartes ME! Quote Link to comment Share on other sites More sharing options...
Alexis Posted January 29, 2013 Report Share Posted January 29, 2013 Well, instead of invoking TaskKill, simply invoke a batch file whose last command restartes ME! Of course the very first step after killing the MEX Process is restarting it right away! So Paul, if you don´t mind publishing the whole commandline thing for the not so gifted it would be awesome!! :) Thank You Alexandra Quote Link to comment Share on other sites More sharing options...
paul Posted January 30, 2013 Report Share Posted January 30, 2013 Save the following lines into a file whose extension is .bat, e.g. C:\MyBatchFiles\RestartME.bat @echo off taskkill /f /im macexp.exe"xxxxxx\MacExp.exe" For convenience, you could create a shortcut to this batch file on your desktop, then simply double-click on that shortcut when you need it. I've simply copied the taskkill line from above, but haven't tested that it works. The xxxxxx should be replaced by the drive and path of the folder that contains macexp.exe, e.g. "C:\Program Files (x86)\Macro Express Pro\MacExp.exe" Quote Link to comment Share on other sites More sharing options...
Alexis Posted January 30, 2013 Report Share Posted January 30, 2013 It works fine (kills and restarts), but a DOS-ish window appears saying "Process ending "MacExp.exe" successful". Is it possible to suppress that window? Thank You Alexandra Quote Link to comment Share on other sites More sharing options...
amonaghan Posted January 30, 2013 Report Share Posted January 30, 2013 It works fine (kills and restarts), but a DOS-ish window appears saying "Process ending "MacExp.exe" successful".Is it possible to suppress that window? Thank You Alexandra A quick search threw this up:- http://www.winhelponline.com/blog/run-bat-files-invisibly-without-displaying-command-prompt/ Quote Link to comment Share on other sites More sharing options...
Alexis Posted January 30, 2013 Report Share Posted January 30, 2013 Works also. In this case you need a .vbs and a .bat file. Thank You Alexandra Quote Link to comment Share on other sites More sharing options...
paul Posted January 31, 2013 Report Share Posted January 31, 2013 It works fine (kills and restarts), but a DOS-ish window appears saying "Process ending "MacExp.exe" successful". Is it possible to suppress that window? Simply edit the properties of the shortcut I suggested you create, and change the Run entry from Normal window to Minimized window. Quote Link to comment Share on other sites More sharing options...
Alexis Posted January 31, 2013 Report Share Posted January 31, 2013 I tried that already. In that case the window is in the taskbar. Thank You Alexandra Quote Link to comment Share on other sites More sharing options...
paul Posted February 1, 2013 Report Share Posted February 1, 2013 I tried that already. In that case the window is in the taskbar. Then you need to read http://www.howtogeek.com/howto/windows/hide-flashing-command-line-and-batch-file-windows-on-startup and download the utility hstart, then edit your shortcut to read: xxxxxx\hstart.exe /noconsole yyyyyy where: - xxxxxx is the fully qualified path of the HStart executable - yyyyyy is the fully qualified shortcut you created. If you're running a 64-bit windows, then use hstart64.exe, otherwise hstart.exe. Quote Link to comment Share on other sites More sharing options...
Alexis Posted February 1, 2013 Report Share Posted February 1, 2013 Interesting, but i will stick to your batchfile solution which works fast and reliable so far. Thanks again Alexandra Quote Link to comment Share on other sites More sharing options...
Cory Posted February 11, 2013 Report Share Posted February 11, 2013 Don't forget if you're in a 64 bit version OS you might also need to kill MEProx64.exe. 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.