MACSCRPT Archives

May 2003

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Bruce Robertson <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Fri, 30 May 2003 23:44:35 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (35 lines)
>>>>  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.
>
> You are wrong about the applescript command "find" - it's job is to
> perform the find. Within Filemaker's own scripting language that job
> is done by "Perform Find". You must be doing something else to leave
> the database in find mode. Try this
>
> tell application "FileMaker Pro"
>   tell database "Addresses.fp5"
>       delete every request
>       create new request
>       set cell "name.first" of request 1 to "malcolm"
>       find
>    end tell
> end tell

You aren't listening.

Did you try this yourself?
From WITHIN FILEMAKER? In a ScriptMaker "perform applescript" step?

It doesn't work.

The fact that you used a tell application "FileMaker Pro" statement suggests
that you are performing this action externally, from Script Editor or
something. Tell statements are not necessary in FileMaker "perform
applescript" script step.

ATOM RSS1 RSS2