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: Tue, 15 May 2007 10:08:53 +1000
I wrote:
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.
On 15/05/2007, at 7:58 AM, Stockly, Ed wrote:
I disagree here, I'd say that is among the most ambiguous way to get
around
terminology conflicts.
It depends on what you mean by unambiguous ;-) I'll go with "exhibiting
no ambiguity".
And you may make the mistake of thinking that the code is addressed to
you. That's very ego-centric. The code is talking to the AppleScript
interpreter.
The simplest way is to put the offending command in a tell. I usually
use
tell application "finder" to yada yada
That is simple but in the bad way not the good way. Read is a command
from the standard additions osax, not the finder. Why not tell Font
Book or Safari or Mail to do it?
-- let's be silly
tell application "Calculator" to list disks --> {"Macintosh HD",
"Network"}
tell application "iPhoto" to path to desktop --> alias "Macintosh
HD:Users:creator:Desktop:"
Hey, who cares if they're a bit slow!
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