Is there a way to tell a droplet that’s running to quit itself when I tell Panther to log out?
here’s the script, which we’re using to debug a nasty server-client error … we’d love it to quit itself if log out is attempted.
thanks!
tell application "Finder"
try
set Volumes to the name of every disk whose startup is false and name does not contain "Network"
set Volumes to Volumes as list
on error
display dialog "There are no volumes mounted."
end try
repeat
repeat with i from 1 to the count of Volumes
set This_Volume to item i of Volumes
--do shell script "ls /Volumes/" & """ & This_Volume & """
do shell script "cd /Volumes/" & """ & This_Volume & """
delay 10
end repeat
end repeat
end tell