![]() |
KnowBrainer Speech Recognition | ![]() |
Topic Title: Dragon 15 DVC Script AppBringUp with command lines Topic Summary: Created On: 11/19/2020 10:37 AM Status: Post and Reply |
|
![]() |
![]() |
- Alexxis | - 11/19/2020 10:37 AM |
![]() |
![]() |
- Alan Cantor | - 11/19/2020 12:27 PM |
![]() |
![]() |
- kkkwj | - 11/21/2020 01:36 AM |
![]() |
![]() |
- Matt_Chambers | - 11/21/2020 08:46 AM |
![]() |
![]() |
- Alexxis | - 11/25/2020 10:49 AM |
![]() |
|
Hey everyone, so how do I add a command line when using the AppBringUp Script command? It looks like this:
"C:\Program Files\Macro Express Pro 6 (x86)\MeProc.exe" /Amacroname
and works when using Windows "Run" etc. in Dragon it only works without the /Amacroname command line. If I try:
AppBringUp "C:\Program Files\Macro Express Pro 6 (x86)\MeProc.exe" /Amacroname
I get a Syntax error. If I try:
AppBringUp "C:\Program Files\Macro Express Pro 6 (x86)\MeProc.exe /Amacroname"
I get an error that the file can't be found (because Dragon doesn't know that /Amacroname is a command line)
so how can I use AppBringUp with the filepath "C:\Program Files\Macro Express Pro 6 (x86)\MeProc.exe" and command line /Amacroname? Does anyone know? |
|
|
|
![]() |
|
I think you may need to use ShellExecute instead of AppBringUp. |
|
|
|
![]() |
|
Another couple of ideas to try are 1) double quote inside the string or 2) joining two strings to make a third. I have not tested any of these.
AppBringUp " ""C:\.....exe"" /Aswitch" AppBringUp " 'C:\....exe' /Aswitch" cmd = "C:\...exe" switch = " /Aswitch" AppBringUp cmd & switch ------------------------- Win10/x64, AMD Ryzen 7 3700X, 64GB RAM, Dragon 15.61, SP 6 PRO, SpeechStart, Office 365, KB 2017, Dragon Capture, Samson Meteor USB Desk Mic, Klim and JUKSTG earbuds with microphones, 3 BenQ 2560x1440 monitors, Microsoft Sculpt Keyboard and fat mouse |
|
|
|
![]() |
|
Have you tried doing
"C:\Program Files\Macro Express Pro 6 (x86)\MeProc.exe" /Amacroname as a shortcut? (You could put the shortcut on the desktop, or anywhere you want, such as a folder of shortcuts.) If that works, you could trigger the shortcut using ShellExecute. |
|
|
|
![]() |
|
Thanks for all the Answers, I did it the way Alan Cantor described, it works like a charm.
Cheers |
|
|
FuseTalk Standard Edition v4.0 - © 1999-2021 FuseTalk™ Inc. All rights reserved.