![]() |
KnowBrainer Speech Recognition | ![]() |
Topic Title: DPG 15.5 opening desktop items Topic Summary: Created On: 03/03/2020 05:53 PM Status: Post and Reply |
|
![]() |
![]() |
- Steve Morris | - 03/03/2020 05:53 PM |
![]() |
![]() |
- Lunis Orcutt | - 03/03/2020 07:33 PM |
![]() |
![]() |
- Alan Cantor | - 03/03/2020 10:24 PM |
![]() |
![]() |
- Steve Morris | - 03/03/2020 11:49 PM |
![]() |
![]() |
- PG LTU | - 03/05/2020 09:19 AM |
![]() |
![]() |
- Edgar | - 03/05/2020 10:58 AM |
![]() |
![]() |
- PG LTU | - 03/05/2020 11:29 AM |
![]() |
![]() |
- Edgar | - 03/05/2020 01:39 PM |
![]() |
![]() |
- Edgar | - 03/05/2020 02:13 PM |
![]() |
![]() |
- kkkwj | - 03/10/2020 03:53 AM |
![]() |
![]() |
- Edgar | - 03/10/2020 11:33 AM |
![]() |
![]() |
- Steve Morris | - 03/08/2020 07:20 PM |
![]() |
![]() |
- Steve Morris | - 03/12/2020 05:23 PM |
![]() |
|
Hi,
Is anyone using DPG 15.5. We are testing it before releasing it to our network. We have found that certain programs on the desktop and in the start menu won't open by command. They did with DPG15.3.
It is difficult to give you examples that don't breach our cyber security policies. But it seems to be only some shortcuts that don't work correctly.
A good example is PG's pgEmulate script. I have a shortcut to that on the Desktop. With DPG15.3 I could say "open speech emulator" and ta da, there it would be. Now with DPG15.5, when I say "open speech emulator" I get a "Windows Script Host Settings" box (see attached image).
But if we double click it from the Desktop, it opens no problem. This is on three different PCs running Windows 10, all of which were running DPG15.3 without issue.
I am raising this with Nuance, but thought I would check in with you good people first.
-------------------------
Steve |
|
|
|
![]() |
|
If you're using KnowBrainer 2017, the <Fetch> <WinGet> <dictation> command can be used to open any application, folder, file, settings, song, video or photo anywhere on your computer. Example: If you wish to launch Visual Studio say <Show/Open/Start/Launch/Find/Play/Go To> <App> <Visual Studio>. If we want to open our Zane Bennett spreadsheet at D:\KnowBrainer\Billing\Paid\Zane Bennett 5-6-2003.xls, from 2003, we just say <Open> <File> <Zane Bennett>.
------------------------- Forum Mission Statement |
|
|
|
![]() |
|
Make sure the checkbox about launched from the desktop (red box) is checked:
|
|
|
|
![]() |
|
Thanks Alan. Yes that is ticked. Thanks also Lunis. I do know how to create those commands. I have nonetheless raised it with Nuance via a ticket.
-------------------------
Steve |
|
|
|
![]() |
|
Happens to me all the time, using DPG 15.5 and I don't like it either. -------------------------
|
|
|
|
![]() |
|
My workaround (DPI 15.3) is to have a global KnowBrainer (could probably use Dragon) script called: where the list "launch" consists of "open", "start" "launch" etc. and "AppList" contains an ever-expanding list of things I might want to start with Dragon. Here is just a short part of the code: If ListVar2 = "Command Browser" Then EmulateRecognition "open command browser" If ListVar2 = "Access" Or ListVar2 = "Microsoft Access" Then ShellExecute "MSACCESS" If ListVar2 = "AutoIT" Then ShellExecute "SciTE" If ListVar2 = "Calculator" Then ShellExecute "Calc" If ListVar2 = "Clock" Then AppBringUp "clock", "D:\Clock\bin\Release\Clock.exe" Exit All End If If ListVar2 = "Computer" Or ListVar2 = "Drives" Then SendKeys "{WindowsHold}e", 1 Exit All End If This command started out as one of the default KnowBrainer commands which I have modified to suit myself. ------------------------- -Edgar |
|
|
|
![]() |
|
Yes, but document files? When you want a quick access to something you are working on in the application, no mater where it is, you can send a shortcut to it onto the desktop and Dragon just knows it's there to open by voice (or double click). But it's not a lotta help if just the underlying app opens up and ya gotta find the file you were working on to open. Thanks that many programs keep a "recent files" list, but still. -------------------------
|
|
|
|
![]() |
|
PG is right when it comes to starting associated files with their respective applications. Both KnowBrainer and Dragon scripting has problems with this if there are any spaces in the paths/names. As a workaround I use an AutoIT executable called from my "launch" script. However, I am running Windows 10 with DPI 15.3 and have no trouble with a link to an (Word or other application) associated document on my Desktop. I just tested this with a Word document link called "Artists" on my desktop saying "start artists" (which is NOT part of my aforementioned "launch" script). As another test, I created a folder on my desktop and within it I put a link to a PNG file (Triangle.png) as well as a couple of other things. With said new folder open in Windows Explorer I tried "start triangle" - it failed; however, when I just said the word "triangle" the link was selected and as PG says all I then had to do was say "press enter". One thing that will confuse Windows Explorer is that if the dictation that Dragon recognizes is distinctly different from any icon in the folder - if the folder contains icons for "able" and "dog" and you say "Charlie" the selected icon will probably be inappropriate. However, if you say "drag" it will generally pick "dog" because it starts with the same first letter (if there are multiple icons which start with the letter 'd' it will probably pick one of them).
------------------------- -Edgar |
|
|
|
![]() |
|
As a further test, I created a link (E:\aaa\asc.lnk) to a text file (E:\aaa\a.txt) and shoehorned this command into my "launch" script: AppBringUp "sc", "E:\aaa\asc.lnk" I put it in to the aforementioned "launch clock" section: If ListVar2 = "Clock" Then AppBringUp "clock", "D:\Clock\bin\Release\Clock.exe" AppBringUp "sc", "E:\aaa\asc.lnk" Exit All End If This work just fine running my "Clock" then opening Notepad with the appropriate real text file. However, this: AppBringUp "PSPad", "D:\pspad501\PSPad.exe E:\aaa\a.txt" fails because there is "something" after ".exe". This is where I need to resort to AutoIT3. Further, changing the name of the link to include a space ("a sc.lnk") and changing the statement to: AppBringUp "sc", "E:\aaa\a sc.lnk" works just fine. ------------------------- -Edgar |
|
|
|
![]() |
|
Hi Edgar, I would have expected the exe and its arg to be quoted separately. Instead of AppBringUp "PSPad", "D:\pspad501\PSPad.exe E:\aaa\a.txt" maybe this AppBringUp "PSPad", "\"D:\pspad501\PSPad.exe\" \"E:\aaa\a.txt\"" or something like that. I don't know if AppBringUp is smart enough to parse the nested quotes separately. ------------------------- Win10/x64, AMD Ryzen 7 3700X, 64GB RAM, Dragon 15.3, 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 |
|
|
|
![]() |
|
AppBringUp is NOT smart enough to parse the argument separately. ------------------------- -Edgar |
|
|
|
![]() |
|
It seems to be desktop items whose target has arguments. For example, the target below not work with Dragon OPEN or LAUNCH command but does work with a double click. For security reasons I have left out the URL. This the target.
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-popup-blocking --touch-events=disabled --app=http:// I am responding to Nuance's questions in their support system. I totally understand how to work around the issue. But I have hundreds of users and I simply will not upgrade them to DPG15.5 unless there is a resolution. -------------------------
Steve |
|
|
|
![]() |
|
Nuance have logged this issue as a defect.
-------------------------
Steve |
|
|
FuseTalk Standard Edition v4.0 - © 1999-2021 FuseTalk™ Inc. All rights reserved.