KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: Advanced Scripting syntax to press and hold one of the mouse buttons
Topic Summary:
Created On: 02/18/2016 10:26 PM
Status: Post and Reply
Linear : Threading : Single : Branch
 Advanced Scripting syntax to press and hold one of the mouse buttons   - WeThotUWasAToad - 02/18/2016 10:26 PM  
 Advanced Scripting syntax to press and hold one of the mouse buttons   - Lunis Orcutt - 02/18/2016 10:42 PM  
 Advanced Scripting syntax to press and hold one of the mouse buttons   - WeThotUWasAToad - 02/18/2016 11:09 PM  
 Advanced Scripting syntax to press and hold one of the mouse buttons   - MikeJ - 02/19/2016 02:08 PM  
 Advanced Scripting syntax to press and hold one of the mouse buttons   - Mphillipson - 02/19/2016 11:27 AM  
 Advanced Scripting syntax to press and hold one of the mouse buttons   - PG LTU - 02/19/2016 03:49 PM  
 Advanced Scripting syntax to press and hold one of the mouse buttons   - Lunis Orcutt - 02/19/2016 06:16 PM  
 Advanced Scripting syntax to press and hold one of the mouse buttons   - WeThotUWasAToad - 02/19/2016 08:37 PM  
 Advanced Scripting syntax to press and hold one of the mouse buttons   - PG LTU - 02/20/2016 01:27 PM  
 Advanced Scripting syntax to press and hold one of the mouse buttons   - MikeJ - 02/19/2016 11:41 PM  
 Advanced Scripting syntax to press and hold one of the mouse buttons   - WeThotUWasAToad - 02/21/2016 12:31 AM  
 Advanced Scripting syntax to press and hold one of the mouse buttons   - Mphillipson - 02/21/2016 02:14 PM  
 Advanced Scripting syntax to press and hold one of the mouse buttons   - WeThotUWasAToad - 02/21/2016 09:23 PM  
 Advanced Scripting syntax to press and hold one of the mouse buttons   - Mphillipson - 02/22/2016 11:23 AM  
 Advanced Scripting syntax to press and hold one of the mouse buttons   - WeThotUWasAToad - 02/22/2016 12:57 PM  
 Advanced Scripting syntax to press and hold one of the mouse buttons   - rolbit - 05/04/2019 09:39 AM  
 Advanced Scripting syntax to press and hold one of the mouse buttons   - TheCyborgManatee - 01/11/2020 03:10 PM  
 Advanced Scripting syntax to press and hold one of the mouse buttons   - Lunis Orcutt - 01/11/2020 08:37 PM  
 Advanced Scripting syntax to press and hold one of the mouse buttons   - dilligence - 01/11/2020 09:09 PM  
 Advanced Scripting syntax to press and hold one of the mouse buttons   - TheCyborgManatee - 01/16/2020 06:46 PM  
 Advanced Scripting syntax to press and hold one of the mouse buttons   - Lunis Orcutt - 01/16/2020 07:28 PM  
Keyword
 02/18/2016 10:42 PM
User is offline View Users Profile Print this message

Author Icon
Lunis Orcutt
Top-Tier Member

Posts: 37584
Joined: 10/01/2006

                    Welcome to the World's Most Popular Speech Recognition Forum

This feature is built into KnowBrainer 2016. You'll find a 30 day trial in our signature tag but you should be able to copy the following code into a Dragon advanced scripting command. Dragon uses a dated scripting language called SAX scripting which was discontinued in 2004. KnowBrainer uses WinWrap Basic which supposedly is 200 times faster but both utilities can use the same VB code so you should be able to copy the following script. Good luck.



Sub Main
If ListVar1 = "LEFT Mouse Hold Down" Then mouse_event (2, 0,0,0,0)
If ListVar1 = "LEFT Mouse Release" Then mouse_event (4, 0,0,0,0)
If ListVar1 = "RIGHT Mouse Hold Down" Then mouse_event (8, 0,0,0,0)
If ListVar1 = "RIGHT Mouse Release" Then mouse_event (16, 0,0,0,0)
End Sub



 

Following list is also needed (sorry about forgetting this earlier)
 

LEFT Mouse Hold Down

LEFT Mouse Release

RIGHT Mouse Hold Down

RIGHT Mouse Release

 

 

 

 



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

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



Statistics
31662 users are registered to the KnowBrainer Speech Recognition forum.
There are currently 2 users logged in.
The most users ever online was 4473 on 07/17/2020 at 10:00 AM.
There are currently 638 guests browsing this forum, which makes a total of 640 users using this forum.

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