Re: Filemaker 8.5 stored applescript problem
Re: Filemaker 8.5 stored applescript problem
- Subject: Re: Filemaker 8.5 stored applescript problem
- From: Malcolm Fitzgerald <email@hidden>
- Date: Mon, 14 May 2007 12:37:32 +1000
On 14/05/2007, at 11:53 AM, Timothy D. Clark wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi-
Having trouble with a script when trying to call it from inside FMP
as a stored script. It works fine as in script editor and
ScriptDebugger. I can cut and paste it. but when FMP 8 and 8.5 tries
to compile it, it breaks. Much of the script is calculated, and it
needs to be, since its doing a date conversion.
The error is ' Expected "," but found class name* FMP shows that
variable "thePath" is the issue.
if I comment out that line, or drop in a string instead of the read,
it works fine.
You are seeing a terminology conflict. Filemaker provides it's own
definition of READ and WRITE. You are trying to call standard additions
"read" command aren't you. The simplest, most unambiguous way to get
around the terminology conflict is to use raw codes.
standard additions read: «event rdwrread»
standard additions write: «event rdwrwrit»
Pop the raw code in place of the word "read".
malcolm
_______________________________________________
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/archives/applescript-users
This email sent to email@hidden