Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

How to make a particular window active


  • Please log in to reply
1 reply to this topic

#1 czhe

czhe

    Seeker

  • Active Members
  • 17 posts

Posted 15 March 2010 - 07:01 PM

Hi all,

I have a script starts a particular application (.exe file). My problem is that when I try to run this script remotely, it will start the application but the application is never "active". Hence, because I use WinWaitActive, my script is basically broken because the window I'm expecting is never actually active.

My question: is there a way to make a particular window active if you already know what its title is? I was thinking of something like alt-tab, but this would get complicated if there were lots of other windows running at the same time.

Any tips are appreciated.

Thanks,
czhe







#2 PsaltyDS

PsaltyDS

    Most Venerable Penguin

  • MVPs
  • 13,279 posts

Posted 15 March 2010 - 07:23 PM

WinActivate()?

Dog ate your help file?

:(

Edited by PsaltyDS, 15 March 2010 - 07:23 PM.

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users