Does anyone know how to check if a remote machine referenced in an AppleScript is available before sending a command to the machine? I have a trigger action that calls for a remote machine to say "TEXT" but if the machine is asleep of off then the IndigoServer gets hung on the AS command until I activate the remote machine referenced. I want to avoid the hang. I tried using "try" blocks but no joy.
set _Remote to "eppc://David:XXXXXX@192.168.0.199"
try
tell application "Finder" of machine _Remote
say "alert, family room"
end tell
end try