Jump to content
Sign in to follow this  
civilcalc

Help please, can i get a button to lauch IE with an address already in the address box

Recommended Posts

civilcalc

I want to know if i can make a button setonevent launch interent explorer with a specified address?

For example, one click and it launches the www.autoitscript.com webpage.

Thanks in advance,

David

Share this post


Link to post
Share on other sites
cdkid

hhmm well i may not be getting ur question but uhh what about somethin like

(this uses the IE.au3 udf library by DaleHolm)

#include <IE.au3>
While 1
hotkeyset("g","go")
WEnd
func go()
$var = _IECreate()
_IENavigate($var, "www.autoitscript.com")
endfunc

--hope this helps


AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide!

Share this post


Link to post
Share on other sites
seandisanti

hhmm well i may not be getting ur question but uhh what about somethin like

(this uses the IE.au3 udf library by DaleHolm)

#include <IE.au3>
While 1
hotkeyset("g","go")
WEnd
func go()
$var = _IECreate()
_IENavigate($var, "www.autoitscript.com")
endfunc

--hope this helps

that is one way to do it, another would be:

$var = "http://autoitscript.com"
run("C:\Program Files\Internet Explorer\iexplore.exe " & $var)

this would work if you just want to load a page and have the user take over. if you want to control the page with your script, definitely get ie.au3, and use the solution already provided.

Share this post


Link to post
Share on other sites
seandisanti

thanks guys, very helpful

:lmao:

no problem. always glad to help.

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  

×