Re: FileMaker/AppleScript interactions: Get(LastError)
Re: FileMaker/AppleScript interactions: Get(LastError)
- Subject: Re: FileMaker/AppleScript interactions: Get(LastError)
- From: Tim Mansour <email@hidden>
- Date: Mon, 30 Oct 2006 13:26:29 +1100
On 30/10/2006, at 7:53 am, David Crowe wrote:
Is there any reasonable way to capture an AppleScript error via a
FileMaker script?
I'd trap the error in the AppleScript and pass the result back to
FileMaker via a global field. For example:
try
-- AppleScript that may produce an error
on error msg number num
set cell "Result" of table "Sys" to "ERROR " & num & ": " & msg
end try
(this uses FM7 terminology and assumes "Result" is a global field).
--
Tim Mansour <email@hidden>
Mobile 0405 500 846
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden