Jump to content

Recommended Posts

Posted

im having trouble keeping focus to one window as others pop up. Is there a command like winsetontop that would keep the focus one only one window while others continuously pop up?

Posted

so something like this?

Do 
WinActivate("Notepad", "")
Until Not Winexists("Notepad", "")

and then put in the code after this for notepad to do until it closes?

That would work. However make sure you are using the proper titles like "Untitled - Notepad". Also maybe add a small sleep so it dosent kill the cpu.
HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.

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