Jump to content

Recommended Posts

Guest tblue71
Posted (edited)

First time using AutoIt and this scripts works on Win2000 box but pauses before license agreement on XP SP2 box. Please help.

Run("Install_AIM.exe")

WinWaitActive("Open File - Security Warning")

Send("{TAB 5}")

Send("{ENTER}")

WinWaitActive("AOL Instant Messenger Software License Agreement")

Send("!y")

WinWaitActive("AOL Instant Messenger Installation")

Send("!N")

WinWaitActive("AOL Instant Messenger Install Components")

Send("{TAB 2}")

Send("{SPACE}")

Send("{TAB}")

Send("{SPACE}")

Send("{TAB}")

Send("{SPACE}")

Send("!N")

WinWaitActive("AOL Instant Messenger Installation")

Send("!N")

WinWaitActive("AOL Instant Messenger Installation")

Send("{TAB 3}")

Send("{DOWN}")

Send("!N")

WinWaitActive("AOL Instant Messenger Installation")

Send("{TAB}")

Send("07311")

Send("{DOWN}")

Send("{SPACE}")

Send("!N")

WinWaitActive("AOL Instant Messenger Installation")

Send("{TAB}")

Send("{SPACE}")

Send("{TAB}")

Send("{SPACE}")

Send("!N")

WinWaitActive("AOL Instant Messenger Installation")

Send("!N")

WinWaitActive("AOL Instant Messenger")

Send("{TAB 2}")

Send("{SPACE}")

Send("{TAB 2}")

Send("{ENTER}")

WinWaitActive("AOL Instant Messenger Screen Name")

Send("{ESC}")

WinWaitActive("Sign On")

WinClose("Sign On")

UPDATE: This script has now worked on a Win200 machine and a WinXP machine but It still will not execute on an Unattended WinXP SP2 build. Does anyone have any explanation?

Edited by tblue71

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