KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: what is wrong with this command?
Topic Summary:
Created On: 07/23/2020 02:58 AM
Status: Post and Reply
Linear : Threading : Single : Branch
 what is wrong with this command?   - Anandits - 07/23/2020 02:58 AM  
 what is wrong with this command?   - Mphillipson - 07/23/2020 04:41 AM  
 what is wrong with this command?   - Anandits - 07/24/2020 11:26 PM  
Keyword
 07/23/2020 02:58 AM
User is offline View Users Profile Print this message

Author Icon
Anandits
Senior Member

Posts: 126
Joined: 03/25/2019

I'm trying to create a Dragon DVC command, to change the format of a line into a heading.

The keyboard shortcuts are 'control alt #'. 


When I created underneath command, Dragon very beautifully types "{Ctrl+Alt 1}" for me. What am I doing wrong?

 

SendKeys "{Ctrl+Alt " + _arg1 + "}"

 07/23/2020 04:41 AM
User is offline View Users Profile Print this message

Author Icon
Mphillipson
Top-Tier Member

Posts: 251
Joined: 09/22/2014

According to the following link:

http://www.exaq.com/DNS/QR10/ScriptingReference.html#DNS-SendKeys

The command should be as follows:

SendKeys "{Ctrl+Alt+" + _arg1 + "}"

(You had an extra space after the Alt and no plus).



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

Thanks Mark


 


Dragon Professional Advanced Scripting/KnowBrainer Scripts
Video Examples of Coding by Voice



 07/24/2020 11:26 PM
User is offline View Users Profile Print this message

Author Icon
Anandits
Senior Member

Posts: 126
Joined: 03/25/2019

Originally posted by: Mphillipson According to the following link: http://www.exaq.com/DNS/QR10/ScriptingReference.html#DNS-SendKeys The command should be as follows: SendKeys "{Ctrl+Alt+" + _arg1 + "}" (You had an extra space after the Alt and no plus).

 

 

thanks a lot! That worked.

Statistics
31892 users are registered to the KnowBrainer Speech Recognition forum.
There are currently 1 users logged in.
The most users ever online was 12124 on 09/09/2020 at 04:59 AM.
There are currently 570 guests browsing this forum, which makes a total of 571 users using this forum.

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