Re: Filemaker Pro 8 question
Re: Filemaker Pro 8 question
- Subject: Re: Filemaker Pro 8 question
- From: Stan Cleveland <email@hidden>
- Date: Tue, 12 Sep 2006 12:02:09 -0700
- Thread-topic: Filemaker Pro 8 question
Title: Re: Filemaker Pro 8 question
On 9/11/06 8:24 PM, Mara Jade Skywalker wrote:
I hope someone can help me. I have a portion of an applescript that's embedded in a Filemaker Pro 8 database as a native applescript. Most of the script runs from the Finder application, but this portion is called from within Filemaker Pro itself. The script has a weird quirk that I can't figure out.
First off, if the script is run by an account with full access, it all works fine. If, however, the script is run by someone with a restricted account, the quoted portion errors out. I thought at first that I might not have the right custom privileges defined, so I double checked them, then I tried running the script from Script Editor, rather than from within Filemaker itself. Even with a restricted account, it worked fine.
<snip>
Here's the portion of the script that errors out. If anyone needs the full complete script, let me know, and I'll send it.
tell application "FileMaker Pro"
<snip>
end tell
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.
_______________________________________________
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