Sign in to follow this  
Followers 0
codenoob

Shift Select

3 posts in this topic

Hey guys, i'll prolly get roasted for this simple question (or find the solution as soon as I post!)

but I need to shift select just a couple of items in a list,and then proceed with other commands available thru the app menu items..

Ive looked at the Mouseclick functions and wasn't sure how to approach this? I'm not sure if these can be nested somehow for example using a mouse down, then sleep for a second then Mouseclickdrag to select the other item then mouse up?(I realize the Mouse up has to occur to move forward) Im looking thru the help and forums and just haven't run across the right "method".

The help file is great but seems to be very specific as to search/results.

Like "shift click" or "Mulitiple select" returns nothing related..

:)

Chris

p.s. thanks in advance!

Share this post


Link to post
Share on other sites



Something like this:

Global $x1 = 100, $y1 = 200, $x2 = 100, $y2 = 300

; First mouse click
MouseClick("Left", $x1, $y1)

; Hold down shift
Send("{SHIFTDOWN}")

; Second mouse click
MouseClick("Left", $x2, $y2)

; Release shift
Send("{SHIFTUP}")

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

Something like this:

Global $x1 = 100, $y1 = 200, $x2 = 100, $y2 = 300

; First mouse click
MouseClick("Left", $x1, $y1)

; Hold down shift
Send("{SHIFTDOWN}")

; Second mouse click
MouseClick("Left", $x2, $y2)

; Release shift
Send("{SHIFTUP}")

:)

dang..made it look too easy..u rock!

THANK YOU SO MUCH!

I owe ya one,

Chris

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0