Hi All,
I need some help, im trying to have a box on the screen thats pinging google every 1 minute and the box is red if there is no response and green if there is a reply, I want this to load at start up without pressing any buttons, basically trying to monitor if the internet goes down.
Any ideas appreciated
Run Ping on program load
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Run Ping on program load
maybe, something like
Code: Select all
on openStack
checkGoogle
end openStack
on checkGoogle
put "http://www.google.com" into theURL
put URL theURL into temp
if temp is empty then
put "Oops... no connection !"
else
put "It's here !"
end if
send "checkGoogle" to me in 60 seconds
end checkGoogle