Re: Another FMP question
Re: Another FMP question
- Subject: Re: Another FMP question
- From: John MacDonald <email@hidden>
- Date: Mon, 6 Nov 2000 12:26:41 -0400
To begin, most of what you're trying to do *does* work if properly done.
At 7:58 AM -0800 11/6/00, Paul Berkowitz wrote:
I'd like to have added the script as a final step from the FMP script he
runs by pushing a button in FMP. But if I try embedding the whole thing as
advertised as a "Perform Applescript" script step there, it's no good
because it doesn't retain properties.
What *I* do to set and get properties is copy them to/from a global
field. Yes, each and every time.
If save my applescript as an applet, and
simply write the "Perform Applescript" step as 'tell application "Convert
Applet" to run', with a run handler,
Make sure your applet is running before you send it any commands. You
might want to do this in a Startup script or have the applet open
FileMaker.
This may relate to the 'timing' problem I mentioned in an earlier
post. When executing anything time consuming from FileMaker, it's
sometimes better to send the 'do script' Apple Event.
Remember, in some versions of Filemaker you need to 'Tell app
FIleMaker"" even in its own scripts. This becomes a good practice
anyway as it makes the scripts more portable, allowing you to test
them in another editor. Maybe your FileMaker block is trying to get
your applet to do something when it's already busy.
If you like, send me or post your script and I'll take a look.
-John