Jump to content

Recommended Posts

Posted

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/")
Posted

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.

Posted

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

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
  • Recently Browsing   0 members

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