Sign in to follow this  
Followers 0
UnknownWarrior

Noob question

16 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites



Thats what i want it to do, i want to it send to hold ctrl down and left click in the x, y coordinates.

Share this post


Link to post
Share on other sites

RAWR! Its ok thanks for trying, anyone else know how to do this correctly?

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites

No i need it to hold down ctrl then click, for a certain thing im doing....

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites

Why could that make a difference though?

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

that how you do it, even if thats the correct way i wrote it, why would be using the the send() and that different?

Share this post


Link to post
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

How could i do that? , now you just confusing me lol.

(sry for double post guys)

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

I want it to hold ctrldown for ever until i send ctrlup... will it still work the way your telling me to do it? will it hold ctrl down forever until i send ctrlup?

Share this post


Link to post
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

Share this post


Link to post
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....

Share this post


Link to post
Share on other sites

#16 ·  Posted (edited)

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

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