Jump to content
Sign in to follow this  
New Bee

Need your help

Recommended Posts

New Bee

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.

Share this post


Link to post
Share on other sites
Paulie

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

Share this post


Link to post
Share on other sites
Achilles

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]

Share this post


Link to post
Share on other sites
New Bee

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

Share this post


Link to post
Share on other sites
Paulie

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

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

Share this post


Link to post
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
Sign in to follow this  

×