Re: Filemaker Pro 8 question
Re: Filemaker Pro 8 question
- Subject: Re: Filemaker Pro 8 question
- From: "Mara Jade Skywalker" <email@hidden>
- Date: Tue, 12 Sep 2006 21:41:22 -0600
<email@hidden> wrote:
I¹ve not scripted FileMaker 8, but in my experience with versions 4 through
7, embedded AppleScript¹s are already targeting FileMaker by an implied tell
command. Explicit Œtell application ³FileMaker Pro²¹ and Œend tell¹ commands
are unnecessary and can actually cause problems. Tell blocks ARE required to
address other apps, such as the Finder, but NOT for FileMaker itself.
This may or many not be the cause of your problem, but it has solved issues
for me in prior versions of FileMaker. It might be worth a few minutes time
to see if it helps.
Stan C.
Hi Stan!
When I first started scripting from within Filemaker, I never used the tell blocks when referring to FMP itself. However, I found that sometimes FMP ran too far ahead of my script when I didn't include a self-telling block. I'm sure our situation is not unique, but we deal across many servers doing multiple file manipulations/renaming, etc. within Finder, then accessing those files from within Photoshop and InDesign as well. There would be times when Filemaker would try to access the next portion of a script that was talking to itself before the requested information it needed had been fully pulled from another application.
I've personally found that I got much more predictable results when I couched the entire script in a 'tell application "Finder"' block, which of necessity forces me to use the 'tell application "Filemaker"' block when wanting to talk to FMP. I'm self-taught when it comes to FMP and Applescripting, so this might not be the best practice, so any suggestions of getting around these types of issues are more than welcome. I know I have a lot to learn yet!
Thanks for the suggestion,
Tina
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden