Jump to content

open a link/url


 Share

Recommended Posts

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

Link to comment
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.

Link to comment
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.

Link to comment
Share on other sites

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)
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...