Jump to content

mouse click + contorl key


Guest GiYo
 Share

Recommended Posts

Hi,

I did read help on mouse and on send. I did some browsing through the forum but probably not enough (yes i know you're used to those excuses now :\

I came up with this:

AutoItSetOption ( "SendKeyDownDelay", 1000)     
Send("^")
MouseClick("left",Random(0,1024,1),Random(0,700,1),1,1)
AutoItSetOption ( "SendKeyDownDelay", 1)

but it does not work.

What I want is that script holds control key, clicks, releases control key.

ty in advance

GiYo

Link to comment
Share on other sites

Hi,

I did read help on mouse and on send. I did some browsing through the forum but probably not enough (yes i know you're used to those excuses now :\

I came up with this:

AutoItSetOption ( "SendKeyDownDelay", 1000)        
Send("^")
MouseClick("left",Random(0,1024,1),Random(0,700,1),1,1)
AutoItSetOption ( "SendKeyDownDelay", 1)

but it does not work.

What I want is that script holds control key, clicks, releases control key.

ty in advance

GiYo

<{POST_SNAPBACK}>

try this one...

Send("{CTRLDOWN}")
MouseClick("left",Random(0,1024,1),Random(0,700,1),1,1)
Send("{CTRLUP}")
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...