Jump to content

always active window


seres
 Share

Recommended Posts

hello, is there a form to make a window always active, the thing is that i have 2 monitors one for my child so he can play (with controler) and the other for me, but when i click on mine the game got paused cause the window is not active.

Link to comment
Share on other sites

  • Developers

Do

WinActivate("SomeGameTitle")

Until WinExists("SomeGameTitle") = 0

get the game title using AU3Info

You want to add a sleep(50) in there to avoid the script taking too much CPU.. <_<

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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
 Share

  • Recently Browsing   0 members

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