Jump to content

Recommended Posts

Posted

I have a script which execute  base on idle time of 5 minutes, but I want the script to stop executing when WinActivate($lock). I received $lock input from the first execution when system was idle for 5 minutes. Any inputs? Thanks.

Posted

Exit or ExitLoop. Though your problem isn't quite clear.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

Sorry it should be WinActive($lock).  It received an active window when my if statement executes. I do with script to run when the window is still active but to continue my loop.

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