Subject: | |
From: | |
Reply To: | |
Date: | Sun, 1 Jun 2003 13:05:30 +1000 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Sorry Bruce, I was confusing your reply with the original post from
Eric. I saw the emphasis but I was thinking that the code was going
to be used in FaceSpan (within FMP as a helper - or something like
that).
>Tell statements are not necessary in FileMaker "perform applescript"
>script step.
No, quite. Tell statements are inferred for the current record,
layout, document and window.
At 6:18 PM -0700 29/5/03, Bruce Robertson wrote:
>IF done *within* FileMaker in a perform applescript step:
>
>Delete every request
>Set NR to (Create new request)
>Copy "Seattle" to cell "City" of NR
>Find
>
>Leaves you in Find Mode.
Yes, quite. The reference to "Find" in FileMaker's AppleScript
Reference database makes special note of this behaviour. "Using the
Find event when running your script using the Perform AppleScript
ScriptMaker step will cause the ScriptMaker script to pause. Use the
Perform Find ScriptMaker step instead."
>So my workaround has been
>
>Delete every request
>Set NR to (Create new request)
>Copy "Seattle" to cell "City" of NR
>Do script "Find"
>-- standard ScriptMaker script
>-- as defined above
-- an alternative is --
Enter Find Mode
Perform AppleScript[set data of cell "City" to "Seattle"]
Perform Find
You could put a beater attachment into the chuck of the old 5 axis
CNC mill to beat eggs, cream the butter and sugar, blend the flour
and bake a cake but it may not be the ideal tool for the kitchen.
--
--
Malcolm Fitzgerald [log in to unmask]
Database Manager http://www.asauthors.org
The Australian Society of Authors ph: 02 93180877 fax: 02 93180530
|
|
|