Jump to content

autoit help


w00blyn

Recommended Posts

hi

its my first script, its for a msn skin

$title="Urban MSN Skin Setup"

Run("UrbanMSN.exe")

WinWaitActive($title,"Welcome")
Send("!n")

WinWaitActive($title,"Instructions")
Send("!n")

WinWaitActive($title,"License")
Send("!a")

WinWaitActive($title,"Options")
Send("!i")

;If WinWaitActive($title,"Downloading polygamy patch failed.") Then
;   Send("{ENTER}")
;Endif

WinWaitActive($title,"Completing the Urban MSN Skin Setup Wizard")
Send("!f")

Exit

when i run it as is, it works fine. when i unplug my ethernet, and take out the comments, it works fine. but when i take out the comments and run it *with* an internet connection, the script stops and last window stays open.

i'd like the if statement to work so if i'm installing on a computer without an internet connection it will still finish silently.

sorry if thats confusing :unsure:

Link to comment
Share on other sites


since it downloads files i thought that'd need to download them each time, but i guess a sfx will work until they update the files...which will probably be never

thanks! problem averted

:thumbup

Link to comment
Share on other sites

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