Jump to content

Recommended Posts

Posted

I'm new to Autoit, just now installed this software. can anyone tell me how to write simple script just to open Internet explorer, type www.autoitscript.com once the page is displayed close the IE.

Posted (edited)

I'm new to Autoit, just now installed this software. can anyone tell me how to write simple script just to open Internet explorer, type www.autoitscript.com once the page is displayed close the IE.

#include <IE.au3>
$window = _IECreate("www.autoitscript.com")
Sleep(3000)
_IEQuit($window)

Like that?

Edited by Paulie
Posted

I'm new to Autoit, just now installed this software. can anyone tell me how to write simple script just to open Internet explorer, type www.autoitscript.com once the page is displayed close the IE.

The easy way to do that would be to do this:

Run(@ProgramFilesDir & "\Internet Explorer\IEXPLORE.EXE")
Sleep(4000)
Send("Hello this is want I want to send")

Then again, this is about as simple as you can get.

My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]
Posted

Thanks Paulie, Your script works very fine.....I'm loving Autoit now :P

Anytime, welcome to the forums! :) Enjoy your stay!

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