AwakeTest("iMacIntel.local")
-- Vérifier si un serveur est éveillé
on AwakeTest(validIPAddress)
try
do shell script "ping -c 2 " & validIPAddress
return true
on error
return false
end try
end AwakeTest
Hi,
I have 2 computers on a small LAN, an iMac G5 (10.4.11) and an iMac Intel (10.6.2) coupled to an Airport Extreme base Station. Why would the script above return «true» if my iMacIntel.local machine is asleep ?
Thanks in advance.
Robert Lespérance