rocknet Posted October 2, 2014 Share Posted October 2, 2014 (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 October 2, 2014 by rocknet Link to comment Share on other sites More sharing options...
Bert Posted October 2, 2014 Share Posted October 2, 2014 so why can't you use Sleep(1000) then if that fixes it? The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
rocknet Posted October 4, 2014 Author Share Posted October 4, 2014 hm...because i want to use Sleep(100). Link to comment Share on other sites More sharing options...
Bert Posted October 5, 2014 Share Posted October 5, 2014 why? The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
rocknet Posted October 5, 2014 Author Share Posted October 5, 2014 (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 October 5, 2014 by rocknet Link to comment Share on other sites More sharing options...
Bert Posted October 5, 2014 Share Posted October 5, 2014 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. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now