Sign in to follow this  
Followers 0
dat

open a link/url

4 posts in this topic

hello everyone,

i need help on opening a link/url on my desktop. i tried to use Run(), but it doesn't allow .lnk/.url. i also tried MouseClick() and it works, but it doesn't serve my purpose. can anyone help me?

thanks

Share this post


Link to post
Share on other sites



hello everyone,

i need help on opening a link/url on my desktop. i tried to use Run(), but it doesn't allow .lnk/.url. i also tried MouseClick() and it works, but it doesn't serve my purpose. can anyone help me?

thanks

You can do Run("iexplore.exe www.yahoo.com")

Or look up the IE.au3 files in scripts and scraps, that has a bunch of useful stuff to navigate webpages.


-- If the apocalypse comes... beep me.

Share this post


Link to post
Share on other sites

i see it now. that really helps. thank you much

dat

You can do Run("iexplore.exe www.yahoo.com")

Or look up the IE.au3 files in scripts and scraps, that has a bunch of useful stuff to navigate webpages.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

I prefer:

$url = "www.google.com"
RunWait("rundll32.exe url.dll,FileProtocolHandler " & $url, @WorkingDir)

Then it opens the link the systems default browser, instead of just IE.

However, if you plan on scripting the automation of a website, you need to check out Dale's IE.au3. You would then _IENavigate to the website you want.

EDIT: Welcome to the forums!!

Edited by Simucal

AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc)

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  
Followers 0