MACSCRPT Archives

October 2008

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Mime-Version:
1.0 (Apple Message framework v929.2)
Content-Type:
text/plain; charset=US-ASCII; format=flowed; delsp=yes
Date:
Fri, 10 Oct 2008 12:33:58 -0400
Reply-To:
Macintosh Scripting Systems <[log in to unmask]>
Subject:
From:
Mark Lively <[log in to unmask]>
In-Reply-To:
Content-Transfer-Encoding:
7bit
Sender:
Macintosh Scripting Systems <[log in to unmask]>
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