Jump to content

Noob question


Recommended Posts

Well im trying to make this nifty little tool for myself but i can't seem to get this to work

While 1
                Send('{CTRLDOWN}')
            MouseClick("left", x, y)
        WEnd

It wouldn't do both for me at the same time, any ideas?

Edited by UnknownWarrior
Link to comment
Share on other sites

Wait I got an idea

Have it hold down the mouse click then send the key

Same effect right?

Edited by BALA
[font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
Link to comment
Share on other sites

I have another idea, hold on while I make sure

EDIT: use the SendKeyDownDelay command

EDIT EDIT: I mean the AutoItSetOption command and have the option be SendKeyDownDelay

Edited by BALA
[font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
Link to comment
Share on other sites

Search on the help file for AutoItSetOption

Then you will set the delay so it's just enough for the mouseclick to happen while it's still down

[font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
Link to comment
Share on other sites

Hello,

hmmz, what is actually your goal?

because, if you want the program to get a piece of a string, it will constantly do that, so it will look like that it isn't doing anything

or am i having the wrong idea ?

i'll see =P

I want it to loop and Send ctrldown and have a various line of mouseclicks while ctrl is still being held down....

Link to comment
Share on other sites

Found it!

"To hold a key down (generally only useful for games)

Send("{a down}") ;Holds the A key down
Send("{a up}") ;Releases the A key
"

All you have to do is put the mouseclick between those two

Edited by BALA
[font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
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...