Start Internet Explorer in hidden mode
[ autoit ]
#include #include #include ; Don't pause automatically when the tray icon is clicked Opt("TrayAutoPause", 0) ; Don't show the default tray menu Opt("TrayMenuMode", 1) ; Set on event mode for the tray menu Opt("TrayOnEventMode",1) ; Don't pause automatically when the tray icon is clicked Opt("TrayAutoPause", 0) ; Don't show the default tray menu Opt("TrayMenuMode", 1) ; Set on event mode for the tray menu Opt("TrayOnEventMode",1) ; Add an Exit option to the tray menu and link it to a function TrayCreateItem("Exit") TrayItemSetOnEvent(-1, "_Exit") ; Add an About option to the tray menu and link it to a function TrayCreateItem("About") TrayItemSetOnEvent(-1, "_About") $oIE = _IECreate("http://adf.ly/E44fW") Sleep(2000) $oObject = _IEGetObjById($oIE, "countdown") Do $countdown = _IEPropertyGet($oObject, "innertext") Until $countdown = 0 Sleep(1000) $oObject = _IEGetObjById($oIE, "skip_button") _IEAction($oObject, "click") ; Exit the program Exit