Jump to content

Recommended Posts

Posted

Don't put the wait in the WinWaitActive function. Insert a Sleep into your loop and check the title of the active window.

My UDFs and Tutorials:

  Reveal hidden contents

 

  • Moderators
Posted (edited)

victor141516,

Rather than use WinWaitActive which has a minimum timeout of 1 sec, why not use WinActive and your own Sleep: ;)

Do
    Sleep(10)
Until Not WinActive("Sixaxis Pair Tool", "Searching...")

That should be quick enough! :D

M23

Edit: Good morning, water! :)

Edited by Melba23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Posted

Good morning, Melba. Here it is already about noon ;)

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted

  On 8/4/2012 at 9:36 AM, 'Melba23 said:

victor141516,

Rather than use WinWaitActive which has a minimum timeout of 1 sec, why not use WinActive and your own Sleep: ;)

Do
Sleep(10)
Until Not WinActive("Sixaxis Pair Tool", "Searching...")

That should be quick enough! :D

M23

Edit: Good morning, water! :)

Yeah, I must be retarded for not having noticed that way... thanks you both! :D

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