KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: Is there a way to add Mouseclick as an option to the <keyname >hold down command?
Topic Summary:
Created On: 11/05/2020 10:43 AM
Status: Post and Reply
Linear : Threading : Single : Branch
 11/06/2020 11:34 AM
User is offline View Users Profile Print this message

Author Icon
monkey8
Top-Tier Member

Posts: 3724
Joined: 01/14/2008

Look at the KB <mousebutton_mouseaction> command that I added to KB and the ability already exists to hold the mouse down and drag things about. It was something like the following for the list command, so you would say "left mouse hold down"… from memory.

 

 

'Script by Lindsay Adam www.pcbyvoice.com 2011
Private Declare Sub mouse_event Lib "user32" (ByVal dwFlags As Long, _
ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, _
ByVal dwExtraInfo As Long)
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)
'... End Sub


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



Statistics
31981 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 464 guests browsing this forum, which makes a total of 465 users using this forum.

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