civilcalc Posted January 26, 2006 Posted January 26, 2006 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
cdkid Posted January 26, 2006 Posted January 26, 2006 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!
seandisanti Posted January 26, 2006 Posted January 26, 2006 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 helpsthat 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.
seandisanti Posted January 27, 2006 Posted January 27, 2006 thanks guys, very helpful no problem. always glad to help.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now