Re: Getting Status of a not responding application
Re: Getting Status of a not responding application
- Subject: Re: Getting Status of a not responding application
- From: Emmanuel <email@hidden>
- Date: Fri, 11 Feb 2005 10:26:35 +0100
At 2:11 PM +0530 2/11/05, Kumar Shailove wrote:
Using AppleScript is there any way to determine whether an application
is not responding (is in hang state).
I don't know an "official" fashion, but I have used the following
trick to know whether Finder is busy:
try
with timeout of 1 second
tell application "Finder" to get 1+1
end
-- responding
on error
-- not responding
end
IIRC, timeout does not support fractional times, but I'm not sure.
Emmanuel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden