KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: SendKeys "^{End}" not working in EMR on Citrix VDI
Topic Summary:
Created On: 12/04/2019 12:31 PM
Status: Post and Reply
Linear : Threading : Single : Branch
 SendKeys "^{End}" not working in EMR on Citrix VDI   - MTreloar - 12/04/2019 12:31 PM  
 SendKeys "^{End}" not working in EMR on Citrix VDI   - Lunis Orcutt - 12/04/2019 12:57 PM  
 SendKeys   - MTreloar - 12/05/2019 08:44 AM  
 SendKeys   - Lunis Orcutt - 12/06/2019 12:02 AM  
 SendKeys   - MTreloar - 12/05/2019 07:34 PM  
 SendKeys "^{End}" not working in EMR on Citrix VDI   - MDH - 12/05/2019 09:00 PM  
 SendKeys   - MTreloar - 12/07/2019 03:37 PM  
Keyword
 12/04/2019 12:31 PM
User is offline View Users Profile Print this message


MTreloar
Senior Member

Posts: 119
Joined: 12/05/2010

For the past few years, a Knowbrainer script command that includes SendKeys "^{End}" has worked, moving the cursor to the empty entry box at the bottom of a list of populated entries. However, the hospital has 'upgraded' to a new Citrix remote desktop environment that hosts the same old pathology EMR I had been using. 

In the new environment, SendKeys "^{End}" goes to the last populated item in the list, immediately above next, Blank, entry box. Funny thing is, when I do this manually, Control-End works to move the cursor to the blank box.

I have tried SendKeys "{Down}" following SendKeys "^{End}" in the KB script to no effect.

Is there a work-around anyone can suggest to make this work?



-------------------------

DPI 15/DMPE 4, KB2017, SpeechProductivity 5 std, Win10x64 (1909), Xeon E3 2.8GHz 64GB DDR4, Focusrite Scarlett Solo 3; Behringer Uphoria UM2, AKG HSC271 mic

 12/04/2019 12:57 PM
User is online View Users Profile Print this message

Author Icon
Lunis Orcutt
Top-Tier Member

Posts: 37494
Joined: 10/01/2006

Try creating an Advanced-Scripting command in Dragon with the following script but don't forget to name your command something unique so as not to interfere with your KnowBrainer commands. This can also be accomplished in KnowBrainer but would have to be written as a DVC command. DVC commands can also be created Dragon but require extra step. Think of the following script as an experiment:

 

Sub Main
     SendSystemKeys "{Ctrl+End}"
End Sub



-------------------------

Forum Mission Statement
Trial Downloads
Dragon/Sales@KnowBrainer.com 
(615) 884-4558 ext 1



 12/05/2019 08:44 AM
User is offline View Users Profile Print this message


MTreloar
Senior Member

Posts: 119
Joined: 12/05/2010

Lunis, that worked! What is the logic?

>>This can also be accomplished in KnowBrainer but would have to be written as a DVC command. DVC commands can also be created Dragon but require extra step.

What do I need to do to re-create " SendSystemKeys "{Ctrl+End}"" in a KB script?


-------------------------

DPI 15/DMPE 4, KB2017, SpeechProductivity 5 std, Win10x64 (1909), Xeon E3 2.8GHz 64GB DDR4, Focusrite Scarlett Solo 3; Behringer Uphoria UM2, AKG HSC271 mic

 12/06/2019 12:02 AM
User is online View Users Profile Print this message

Author Icon
Lunis Orcutt
Top-Tier Member

Posts: 37494
Joined: 10/01/2006

Originally posted by: MTreloar Lunis, What do I need to do to re-create " SendSystemKeys "{Ctrl+End}"" in a KB script?



Try creating a new KnowBrainer command. Look at the bottom where it says Scripting Language. To the immediate right you will see the default of KnowBrainer WinWrap Basic. Click the down arrow and change your command to DVC (Dragon Voice Commands). We refer to this as Dragon legacy scripting and you will be able to use any DVC script such as SendSystemKeys "{Ctrl+End}"



-------------------------

Forum Mission Statement
Trial Downloads
Dragon/Sales@KnowBrainer.com 
(615) 884-4558 ext 1

 12/05/2019 07:34 PM
User is offline View Users Profile Print this message


MTreloar
Senior Member

Posts: 119
Joined: 12/05/2010

To answer my own question, "What is the logic" for SystemSendKeys, I see that it is a timing issue and performance over a Citrix connection.

I have created a partial work-around in Dragon, using Advanced Scripting. However, I remain interested in what is needed to write a script in KB that works in Citrix.

In the past, I used MacroExpressPro (MEpro) with keyboard not voice. MEPro is a macro program. MEPro has a macro execution speed command that slows the script. It would be nice if KB had a similar feature.

-------------------------

DPI 15/DMPE 4, KB2017, SpeechProductivity 5 std, Win10x64 (1909), Xeon E3 2.8GHz 64GB DDR4, Focusrite Scarlett Solo 3; Behringer Uphoria UM2, AKG HSC271 mic

 12/05/2019 09:00 PM
User is offline View Users Profile Print this message

Author Icon
MDH
Top-Tier Member

Posts: 2134
Joined: 04/02/2008

Use SendDragonKeys with Citrix. It is much more reliable than SendKeys, and lots faster than SendSystemKeys.

MDH



-------------------------
 12/07/2019 03:37 PM
User is offline View Users Profile Print this message


MTreloar
Senior Member

Posts: 119
Joined: 12/05/2010

Thank you Lunis and MDH. For whatever reason, my original Knowbrainer script is now working. Bonus: I successfully created scripts in Dragon Advanced Scripting and learned a new skill. To date, I have avoided learning Advanced Scripting.

-------------------------

DPI 15/DMPE 4, KB2017, SpeechProductivity 5 std, Win10x64 (1909), Xeon E3 2.8GHz 64GB DDR4, Focusrite Scarlett Solo 3; Behringer Uphoria UM2, AKG HSC271 mic

Statistics
31613 users are registered to the KnowBrainer Speech Recognition forum.
There are currently 2 users logged in.
The most users ever online was 3936 on 09/08/2015 at 11:44 AM.
There are currently 433 guests browsing this forum, which makes a total of 435 users using this forum.

FuseTalk Standard Edition v4.0 - © 1999-2020 FuseTalk™ Inc. All rights reserved.