Jump to content

Help with waiting for window to open, no set name...


Recommended Posts

I am creating a pretty simple script where it opens a program and a keystroke opens the window to full screen. First off, I want the program to go to full screen as soon as window is open. Second is, window (taskbar button) has no set name. The program is MusicBee and the program shows the current track playing on the taskbar button. So I can't assign a name. Also, setting a time sometimes works and sometime doesn't depending on load time. Is there any way to send keystroke as soon as window opens? Without setting a time... Thanks

MusicBee.au3

Link to comment
Share on other sites

No, that doesn't work. I imagine because I have the program open to full screen, showing the windows task bar. The Hotkey "f" is what opens it to full full screen, hiding the task bar. I need Autoit to recognize the program as soon as it is open and even if it isn't the "active" window. Sometimes it is just opens, and clicking it with the mouse makes it active.

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