Jump to content
Sign in to follow this  
rush4hire

_IECreateLite

Recommended Posts

rush4hire

This does pretty much what _IECreate does, but with alot less code, so it's portable...

It just opens a web page in your browser.

Func _IECreateLite($s_url, $s_filename = "temp_htm_file")
    $f = FileOpen ( $s_filename &".htm", 2 )
    FileWrite( $f, '<html><head><meta http-equiv="Refresh"content="0;url='& $s_url &'"></head><body></body></html>')
    FileClose($f)
    Run(@comspec & ' /c start ' & $s_filename &".htm" , '', @SW_HIDE)
EndFunc

; Example of usage


_IECreateLite("http://www.autoitscript.com/forum/")

Share this post


Link to post
Share on other sites
orange

well, thats not really what _iecreate does.

_IEcreate can create a new browser (IE) window, but thats not what it is best at.

It opens ie so that you can manipulate it as an object.

Share this post


Link to post
Share on other sites
bonebreaker

Well actually this opens windows media player for me O.o


My programs:[topic="40019"]Sudoku[/topic], [topic="41258"]Suitcase game & Random jokes[/topic], [topic="41641"]8 Queens[/topic], [topic="41679"]Puzzle Generator[/topic], [topic="42045"]Snake[/topic]My UDFs:[topic="41309"]Prime functions & Prime game[/topic]Other:Fake emailer

Share this post


Link to post
Share on other sites
frontmill

Well actually this opens windows media player for me O.o

:whistle::)

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.