![]() |
KnowBrainer Speech Recognition | ![]() |
Topic Title: Custom command for control left click Topic Summary: Created On: 04/17/2021 11:40 AM Status: Post and Reply |
|
![]() |
![]() |
- Psithyros | - 04/17/2021 11:40 AM |
![]() |
![]() |
- Edgar | - 04/17/2021 04:18 PM |
![]() |
![]() |
- jacklenin | - 05/28/2021 03:29 AM |
![]() |
|
Hi all. Could someone please suggest an advanced script for DPI 15 to perform "control left click" with a shortened voice command? Thanks. |
|
|
|
![]() |
|
Command name="Control Click" (the "Left" is assumed):
Type POINT x As Long y As Long End Type
Declare Function GetCursorPos Lib "user32" Alias "GetCursorPos" (lpPoint As POINT) As Long
Sub Main Dim z As POINT GetCursorPos z SendKeys "^{ClickLeft " & z.x &"," & z.y &"}", 1 End Sub ------------------------- -Edgar |
|
|
|
![]() |
|
Thanks Edgar. Very useful.
|
|
|
FuseTalk Standard Edition v4.0 - © 1999-2022 FuseTalk™ Inc. All rights reserved.