Jump to content

Recommended Posts

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
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
Posted

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. 

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...