#26398 - 2002-08-02 04:54 PM
OFF TOPIC - CTRL+Click
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
I am trying to figure out how to do a simple CTRL+LeftClick with a mouse..
I have tried AutoIT and EventCorder with no success with this..
The application that I am working with does not accept the Space bar with a CTRL to "tag" the lines in the application..
Here is my AutoIT Code:
code:
WinWaitActive, Borrower Files MouseMove, 100, 45 Send,^ LeftClick, 100, 45 MouseMove, 100, 59 Send,^ LeftClick, 100, 59 MouseMove, 100, 73
I have also tried: Here is my AutoIT Code:
code:
WinWaitActive, Borrower Files MouseMove, 100, 45 Send,^+LeftClick, 100, 45 MouseMove, 100, 59 Send,^+LeftClick, 100, 59 MouseMove, 100, 73
Thanks,
Kent
|
|
Top
|
|
|
|
#26400 - 2002-08-02 05:17 PM
Re: OFF TOPIC - CTRL+Click
|
Chris S.
MM club member
   
Registered: 2002-03-18
Posts: 2368
Loc: Earth
|
Kent,
Try LeftClickDrag...
quote:
LeftClickDrag, x1, y1, x2, y2 RightClickDrag, x1, y1, x2, y2
Drags the mouse pointer from x1,y1 to x2,y2 with the relevant mousebutton held down. The co-ordinates are relative to the current active window.
[ 02 August 2002, 17:18: Message edited by: Chris S. ]
|
|
Top
|
|
|
|
#26405 - 2002-08-03 12:51 AM
Re: OFF TOPIC - CTRL+Click
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Thanks for the responses..
Here is the code..
code:
WinWaitActive, Borrower Files Send,{down} Send,{ctrldown}+{shiftdown}{up}{Down 18} Send,{ctrlup} Send,{shiftup}
HTH,
Kent
|
|
Top
|
|
|
|
#26406 - 2002-08-03 12:55 AM
Re: OFF TOPIC - CTRL+Click
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
BTW..
The [CTRLDOWN}, {SHIFTDOWN} and {CTRLUP}, {SHIFTUP} are only available in the newer versions of AutoIT.
Kent
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 2220 anonymous users online.
|
|
|