Re: don't understand how to use timeout
Re: don't understand how to use timeout
- Subject: Re: don't understand how to use timeout
- From: Michelle Steiner <email@hidden>
- Date: Wed, 14 Sep 2005 21:26:38 -0700
On Sep 14, 2005, at 5:49 PM, Robert Poland wrote:
I have a script that process multiple files. If one of the files
(text) is formatted wrong it will cause an error.
try
set message to x & (return) & (return) & "Of file: " &
currentFileName
display dialog message buttons {"OK"} default button 1 with
icon stop
return -- quit program
on error
log message
end try
The question is; Where do I view the log?
Well, first of all, you have to write the error routine properly:
try
set message to x & (return) & (return) & "Of file: " &
currentFileName
display dialog message buttons {"OK"} default button 1 with icon
stop
return -- quit program
on error message
log message
end try
You can then read the log in the Log pane of the script window or in
the Event Log History window.
-- Michelle
--
Homosexuals do not recruit; Christians recruit, and so does the
military.
_______________________________________________
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