Re: Filemaker 8.5 stored applescript problem
Re: Filemaker 8.5 stored applescript problem
- Subject: Re: Filemaker 8.5 stored applescript problem
- From: David Simerly <email@hidden>
- Date: Sun, 20 May 2007 11:14:43 -0700
- Thread-topic: Filemaker 8.5 stored applescript problem
- Url: http://www.digital-native.com
Title: Re: Filemaker 8.5 stored applescript problem
On 5/19/07 1:00 PM, "Stockly, Ed" <email@hidden> wrote:
The good news is the "using terms from" contruct doesn't add any time at all to the execution, and I'll probably start using that when I am processing a large number of commands.
Thanks for the info Ed. Yes, I’ve started adding “using terms” clauses when adding external calls from FM too, although the reason I wasn’t more aware of this issue is because I typically use “do shell script” to read/write files from within FileMaker — fast, simple, and only fails for typos. Interestingly, the compiler does complain if you attempt to compile a Standard Additions read command using FM’s “Native Command” method; so in that context the compiler can tell that you’re trying to improperly use its read constant. But it’s not a very informative message so it wouldn’t help avoid the problem unless you already knew about it. Also, you get no error for the read command in “Calculated AppleScript” or if you compile with a “tell FileMaker” block in an external editor. It’s just too bad that the AS compiler doesn’t take parameters into account when compiling; it might add a little bit of overhead to the process, but I doubt it would be noticeable, and it would alleviate this problem.
Best,
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden