#NoTrayIcon
#include
;Path to Internet Explorer
$IE_Path = @ProgramFilesDir & '\Internet Explorer\iexplore.exe'
;Receive File Version from %ProgramFiles%\Internet Explorer\iexplore.exe
$IE_Version = FileGetVersion($IE_Path)
;If IE Version higher or equal to 6.0.0.0 then
If $IE_Version >= '6.0.0.0' Then
;Open IE Window use either a www URL or a local URL (see below)
_IECreate ('http://www.experts-exchange.com', 0, 1, 1, 0)
Else
;If IE Version is lower then 6.0.0.0 open second URL Window
_IECreate (@ScriptDir & '\TEST.HTML', 0, 1, 1, 0)
EndIf
|