MACSCRPT Archives

October 2008

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:
Fri, 10 Oct 2008 12:33:58 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
On Oct 10, 2008, at 12:15 PM, Chuck Pelto wrote:

> This is the first time I've done any serious AppleScripting in FMP9.
>
> I'm finding that the call for Current Record doesn't work like it  
> used to. Used to be it returned a record ID. Now it returns a  
> 'record' of all the fields in the current layout.
>
> What's the call necessary to get the record ID again? Something I  
> can use to say...
>
> Set cell myCell of current record to "FUBAR"
>
> Regards
>

tell application "FileMaker Pro" to get ID of current record

You can what you have as well.

tell application "FileMaker Pro" to set cell "priority" of current  
record to 4

ATOM RSS1 RSS2