Subject: | |
From: | |
Reply To: | |
Date: | Wed, 8 Nov 2006 20:00:59 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
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"
>>> --
>
|
|
|