Sign in to follow this  
Followers 0
rocknet

Double-click is unavailable when use ControlGetFocus or ControlFocus

6 posts in this topic

#1 ·  Posted (edited)

While 1
   ;ControlFocus("untitle","","Edit1")
   ControlGetFocus("untitle")
   Sleep(100)
WEnd

When I run this script ,double-click is unavailable.But when use sleep(1000),it run correctly.

Edited by rocknet

Share this post


Link to post
Share on other sites



hm...because i want to use Sleep(100).

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

The script that i posed is only a demo to show the problem.

I must use Sleep(100) to  improve the response speed of my program.

Edited by rocknet

Share this post


Link to post
Share on other sites

My apologies -  Before we go any further, I have no idea of the application you are working with and we have forum rules concerning game automation. If you are working with a game, game server, or something that is in violation of the forum rules, I need to know this please. Would you be so kind in letting me know the name of the application your script works with please? Thanks. 

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