Jump to content

Recommended Posts

Posted (edited)

$i = 1

While $i = 1
If WinExists("Popup", "") Then
WinClose("Popup", "") 
    EndIf
    Sleep(5000)
    
Wend

I've tried running this as an .exe in Win7 with admin privelages and it still doesn't work. What's the deal here?

Edited by Silverel
Posted

This works flawlessly in XP and Vista environments, I was just curious if there was anything specific about Win7 that would cause it to fail. My disadvantage here is that I can't actually write the script on the Win7 machine. :mellow:

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