Jump to content

Recommended Posts

Posted

Just installed AutoIt yesterday and wrote my first script today. A TERRIFIC PROGRAM!!

But had a small problem with my first script. The script runs flawlessly 4 times out of 5 BUT sometimes it fails.

Run("C:\Program Files\Internet Explorer\iexplore.exe")
WinWaitActive("Blank Page - Windows Internet Explorer")
Send("http://somesite.com/p?r=ab_6", 1)
Send("{enter}")

The failures occur when the first Send() does not enter the address (as written)in the address bar of IE, but rather leaves out some of the characters.

Any suggestions much appreciated. Would ShellExecute("address")be more reliable??

Posted

Just installed AutoIt yesterday and wrote my first script today. A TERRIFIC PROGRAM!!

But had a small problem with my first script. The script runs flawlessly 4 times out of 5 BUT sometimes it fails.

Run("C:\Program Files\Internet Explorer\iexplore.exe")
WinWaitActive("Blank Page - Windows Internet Explorer")
Send("http://somesite.com/p?r=ab_6", 1)
Send("{enter}")

The failures occur when the first Send() does not enter the address (as written)in the address bar of IE, but rather leaves out some of the characters.

Any suggestions much appreciated. Would ShellExecute("address")be more reliable??

Posted

As previously posted this works just fine given that I have both Safari and the latest version of IE installed on a Vista Box

ShellExecute("http:\\www.mapilab.com\outlook\security\") Ant..

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
×
×
  • Create New...