#persistent Gosub, TestOnline SetTimer, TestOnline, 30000 ; checks every 30 seconds return TestOnline: test = c:\test.txt FileDelete, %test% URLDownloadToFile, http://www.autohotkey.com/, %test% ; insert a neutral URL instead of AHK's if FileExist(Test) { FileDelete, %test% run, "C:\Programme\Mozilla Firefox\firefox.exe" run, "C:\Programme\Mozilla Thunderbird\thunderbird.exe" ExitApp } return
Online Check
Started by
kapege.de
, Oct 28 2005 12:06 PM
No replies to this topic
This little program is for the autostart-section. It tries to load a site and decides if you are already online or not, because (for me) sometimes it lasts a while until the connection is stable. So my Firefox starts and loads the startpages only until there's a connection.
#1
-
Posted 28 October 2005 - 12:06 PM