MACSCRPT Archives

November 2006

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:
Mark Lively <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Thu, 9 Nov 2006 08:45:39 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (36 lines)
Could be that I was using FileMaker Developer to test.

On Nov 8, 2006, at 10:06 PM, Joe Barwell wrote:

> Gidday Mark,
>
> Om my machine, your script does not work, using the example
> files you
> provided, unless I amend your script's syntax to the one I
> posted earlier. The
> fact that Bill encountered similar problems suggests there's
> something
> different about your setup. All of the steps I included in
> my rewrite of your
> script were necessary to get the right result. <shrug>
>
> 10.3.9, FMP 6.0v4.
>
> Cheers!
>
> Joe
>
>> That is what I thought.  I was shocked myself when it
>> worked without   telling the particular database.
>>
>>> tell application "FMP6"
>>>     go to database "2.fp5" -- bring to front
>>>     tell database "2.fp5"
>>>         do script "RelatedRecords"
>>>     end tell
>>>     tell document "1.fp5"
>>>         get every record of layout "Data Layout"
>>>     end tell
>>> end tell
>

ATOM RSS1 RSS2