Amerifax-Bob Posted March 19, 2013 Report Share Posted March 19, 2013 I am trying to create a hook "between Dragon NaturallySpeaking and Macro Express Pro. I was able to get some direction from the author of "Scripting for Dragon NaturallySpeaking 11". the game in the name of Larry Cantor who had created a hook quite some time ago. By hook I mean the ability to execute a Macro Express macro by use of voice. The following is the code and it's pretty much Greek to me I was hoping to get some help: Triggering Macro Express Scripts with NaturallySpeaking Code samples - Use NaturallySpeaking Professional edition to trigger a Macro Express script nicknamed "test 1" and activated by Ctrl+Alt+T: Hotkey method Sub Main ' Note: ^ = Control, % = Alt, + = Shift SendKeys "^%t" End Main There was also a second method: Shell command method Sub Main ' Note: Use /A switch before Macro Express nickname ShellExecute "[macro_express_folder_path]\meproc.exe /Atest 1" End Main Hopefully someone is for familiar with this type of approach to execute a macro by voice. Bob PS also I would like to thank those that helped me with my macros in the past. Without boring you with a lot of details let's just say this is my first day. Quote Link to comment Share on other sites More sharing options...
Cory Posted March 19, 2013 Report Share Posted March 19, 2013 The second method is best and that's the normal way one executes a macro from the command line. There have been many threads here regarding this method of execution so I'm sure you have read them before. If not I'm sure the Help section on "Command Line Parameters" will explain what you need to know. Quote Link to comment Share on other sites More sharing options...
Amerifax-Bob Posted March 21, 2013 Author Report Share Posted March 21, 2013 Thanks. I will check out some of the previous treads. Bob Quote Link to comment Share on other sites More sharing options...
Cory Posted March 22, 2013 Report Share Posted March 22, 2013 Or read the help file ;-) Quote Link to comment Share on other sites More sharing options...
acantor Posted March 23, 2013 Report Share Posted March 23, 2013 If you include this information, I can tell you how to do it: 1. Nickname of your Macro Express script. 2. How you normally activate the Macro Express script: e.g., pressing a hotkey. (Which key press do you use?) 3. Version of NaturallySpeaking you have, e.g., Professional Version 12, Home Version 11.5, etc. Quote Link to comment Share on other sites More sharing options...
Amerifax-Bob Posted March 25, 2013 Author Report Share Posted March 25, 2013 I'll put this together tonight and thanks for the offer. Bob 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.