Hi all,
I'm using a powershell script:
Start-process c:\test\window.exe
I'm trying to make it wait "window.exe" be activate to continue the script.
Wait Process Window to be Activate
Moderator: DosItHelp
Re: Wait Process Window to be Activate
What does "activate" mean?I'm trying to make it wait "window.exe" be activate to continue the script.
Steffen
-
- Expert
- Posts: 1160
- Joined: 06 Sep 2013 21:28
- Location: Virginia, United States
Re: Wait Process Window to be Activate
I think they mean they want to wait for the window to be active
Re: Wait Process Window to be Activate
Still "active" is an ambiguous term. Does it mean that the Window is visible, or does it mean the process has finished loading and has zero CPU usage, or does it mean the window is the topmost window, or does it mean the window has the keyboard focus, ...? We don't even know what this window.exe is in order to be able to investigate what "active" could possibly mean.
Steffen
Steffen
-
- Expert
- Posts: 1160
- Joined: 06 Sep 2013 21:28
- Location: Virginia, United States
Re: Wait Process Window to be Activate
I take it to mean "has keyboard focus"