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:
Wed, 8 Nov 2006 20:00:59 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (43 lines)
On Nov 8, 2006, at 5:10 PM, Joe Barwell wrote:

> Hello Mark,
>
> In order to work, your applescript has to read something
> like the following:
>
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
>
>
> Cheers!
>
> Joe
>
>
>> On Nov 8, 2006, at 9:31 AM, Bill Steele wrote:
>>
>>>> My suggestion was to use a filemaker script that has
>> one step >>
>>>> goto related record [Show only related records]
>>>>
>>>> Then have an applescript which is
>>>>
>>>> Tell application "FileMaker Pro"
>>>>     do script "RelatedRecords"
>>>>     get every record of layout "Data Layout"
>>>> end tell
>>>
>>> --> "Object not found"
>>> --
>

ATOM RSS1 RSS2