Jump to content
Sign in to follow this  
Fend

ControlClick Errors

Recommended Posts

Fend

I am having troubles with the controlclick function. I am attempting to click on a specific location on the screen. The code I have is...

ControlClick ( "Nostale", "", ""[, "left"[, 1 [, $mapx [, $mapy ]]]] )

I check the variable values and they are good.

Information about the screen I am working with via autoit windows tool

title=nostale

ID=nothing

text=nothing

not sure about button but it is a games screen

x and y were verified so values are ok.

PS...noticed a controlclick handle in the viewer its 0x00010092(no idea about this 1)

Edited by Fend

I like cookies?

Share this post


Link to post
Share on other sites
dbzfanatic

Try removing the "[" and "]",they're only there to show those parameters are optional. Did you look at the example script? If you had you would've noticed that they proper syntax has no [ or ] in it.

Share this post


Link to post
Share on other sites
Fend

Thanks that solved the error :mellow: I am not getting the functionality I need with it but I do thank you for your respose :(


I like cookies?

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.