Computer Hope

Microsoft => Microsoft DOS => Topic started by: alanbr00 on September 15, 2019, 12:29:18 AM

Title: Wait Process Window to be Activate
Post by: alanbr00 on September 15, 2019, 12:29:18 AM
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.
Title: Re: Wait Process Window to be Activate
Post by: Salmon Trout on September 15, 2019, 01:59:11 AM
What do you mean "be activate"?
Title: Re: Wait Process Window to be Activate
Post by: alanbr00 on September 15, 2019, 08:01:08 AM
What do you mean "be activate"?

Hi, i mean wait to the window process show in the screen.
Title: Re: Wait Process Window to be Activate
Post by: patio on September 15, 2019, 08:06:15 AM
Clear as Mud...
Title: Re: Wait Process Window to be Activate
Post by: alanbr00 on September 15, 2019, 10:31:19 AM
Clear as Mud...

Sorry  ;D

Code: [Select]
  Start-process c:\test\window.exe It's as login window, that take a while to appear depending on hardware.