KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: Mouse control Command
Topic Summary:
Created On: 12/23/2021 08:39 PM
Status: Post and Reply
Linear : Threading : Single : Branch
 Mouse control Command   - Tomc - 12/23/2021 08:39 PM  
 Mouse control Command   - Matt_Chambers - 12/24/2021 11:08 AM  
 Mouse control Command   - dilligence - 12/24/2021 02:09 PM  
Keyword
 12/23/2021 08:39 PM
User is offline View Users Profile Print this message

Author Icon
Tomc
Junior Member

Posts: 37
Joined: 10/14/2019

I’m trying control a Reolink pan and tilt camera. I need a command that will click and hold the mouse key for a specified amount of time, then release it. Is this possible?



 12/24/2021 11:08 AM
User is offline View Users Profile Print this message

Author Icon
Matt_Chambers
Top-Tier Member

Posts: 550
Joined: 08/09/2018

I haven't done it, but this thread (and perhaps others here) may give you some ideas.

https://www.knowbrainer.com/forums/forum/messageview.cfm?catid=4&threadid=9605&highlight_key=y&keyword1=mouseevent

I assume by adding a Wait statement between the mouse events you could accomplish what you want.

Might also be able to do this with AutoHotKey, but I haven't tried.



 12/24/2021 02:09 PM
User is offline View Users Profile Print this message

Author Icon
dilligence
Top-Tier Member

Posts: 1499
Joined: 08/16/2010

Press Utility featured in both SP Standard and SP PRO does exactly what you want (and the pressing of the mouse buttons works much faster than via advanced scripting).

 

 

 

 

Below are the currently available Press Utility voice commands:

 

Press - presses and holds the left mouse button

Release - releases the left mouse button 

Release Copy - use this if you have selected text with the Press command. Releases the left mouse button and automatically copies the text 

Press Right - presses and holds the right mouse button 

Release Right - releases the right mouse button 

Press 1to5 second(s) - keeps the left mouse button pressed for a specified amount of seconds (1-5) and then releases it. Example: Press 3 seconds 

Press   for VoiceComputer users. Example: Press 5, Press 27 

Press Wheel - presses the mouse wheel (for smooth scrolling in browsers). 

Release Wheel - releases the mouse wheel

 

 

Note: in SP PRO you can keep the left mouse button pressed up to 50 seconds (but that's easily adjustable).

 

The Press/Release Wheel commands are superseded by SP Glide©



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

https://speechproductivity.eu


Turbocharge your Dragon® productivity with 40 Power Addons



KnowBrainer Speech Recognition » Commands, Scripts, and Macros - Dragon » Mouse control Command

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

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