Jump to content
Sign in to follow this  
golfinhu

how to keep one click?

Recommended Posts

golfinhu

hi ppl

for example:

ControlClick('[CLASS:OSKMainClass]', '', 'DirectUIHWND1', 'left', 1, 570, 180)

i want to click here, and hold the button for 3 seconds!

after 3 seconds, i release the button!

only a basic delay!

i tried this:

Opt("MouseClickDownDelay", 3000)

but dont work =[

thanks

Edited by golfinhu

Share this post


Link to post
Share on other sites
rcmaehl

That's because you're not actually clicking the mouse but instead sending a simulated mouse click to the control.


My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.

MY PROJECTS


Active: IRC UDF, WindowEx UDF
Discontinued: GithubBubbleSort UDF

Share this post


Link to post
Share on other sites
ArkiePazi

Some programs overrides the send functions. Sadly I have not been able to find a workaround.

You could also try:

MouseDown("left")
sleep(3000)
MouseUp("left")

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.