Jump to content

Recommended Posts

Posted

Ok so i'm downloading something from the net and i want my pc to power off when its finished so i was wondering will this do or will it need more

If WinClose ( "Downloads" )
    then shutdown(9)
EndIf

If WinActive ( "Downloads" )
    then sleep( 10000 )
EndIf

Posted

Ok so i'm downloading something from the net and i want my pc to power off when its finished so i was wondering will this do or will it need more

If WinClose ( "Downloads" )
    then shutdown(9)
EndIf

If WinActive ( "Downloads" )
    then sleep( 10000 )
EndIf
If Not WinExists() Then

Shutdown(8+1)

EndIf

Posted

I use Firefox and this is the window that appear when I download something.

When this window doesn't exist then download process is finished.

You can check with WinExists if that window exists or not.

Posted

ok so thats all i need? just making sure

If you cannot understand me (I`m not a very english speaker), you can look in the help file to give you some details about doing things.

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