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:
Joe Barwell <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Thu, 9 Nov 2006 11:10:12 +1300
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
Hello Mark,

In order to work, your applescript has to read something
like the following:

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