Re: Another FMP question
Re: Another FMP question
- Subject: Re: Another FMP question
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 06 Nov 2000 23:17:08 -0800
On 11/6/00 11:34 AM, "Allen Watson" <email@hidden> wrote:
>
I've also had good luck with putting the text of a script into a field, and
>
then using "Perform Applescript" with the field as the object of the verb.
>
However, that won't work to retain property values, as you point out.
>
--
Thanks, Allen, for your suggestions, and everyone else too.
What now works perfectly is the following:
1) embed the 'set-up' part of my previous applet script in a new, separate
embedded (Perform AppleScript) script that uses the user input to set three
global fields, to put what had been properties in the original.
2) embed the main run section of the applet script as the last FMP script
step after doing the records export, getting the "property" values from the
three global fields. (The only change I had to make was setting two of these
which were aliases as string path names instead).
This works perfectly, and is quite fast, even though it performs many events
in three different applications (FMP, TE+, Entourage). Thanks a lot for
everyone's help, particularly John MacDonald, who showed me off-list how to
set a global field by setting 'cell' of database (NOT the syntax in the FMP
Dictionary). Being able to get and set global fields with 'cell' is what
made it all possible. Embedding works fine so far - I shall avoid applets
run from FMP in future (I don't need another 48 hours of frustration).
--
Paul Berkowitz