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: Fri, 18 May 2007 15:39:54 -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/17/07 5:02 PM, "Shane Stanley" <email@hidden> wrote:
It's not rocket science, and something FileMaker could have
fixed in minutes many releases ago.
No, it’s not rocket science, but it’s not OOP either. I always thought this problem was unique to FileMaker; a bug. But if it can happen in any app, then I’d call it a bug in AppleScript. If there was a true “containment” hierarchy, then the compiler would not be able to match a constant name to a command name; they should be two distinctly different object types. The application really shouldn’t be responsible for protecting AppleScript from itself. And how is the compiler supposed to know which “read” object the developer wants? Parameter overloading. The “read” constant has no parameters, so the compiler should skip that object and go on to the next “read” object in the hierarchy. I thought that was the way AS worked. The reason the problem makes me nervous is because on a very large installation, made up of hundreds of scripts, integrating dozens of apps, that control processes demanding a high degree of robustness, the system could be brought down at any time after upgrading a single application or OSAX in which the new version contains a badly named constant. So now you’ve got two choices: 1) hope it never happens, but if it does then deal with the downtime, troubleshooting the issue, and calming the panicked client after the fact; or 2) be proactive and revisit all those scripts and strengthen potential problem areas with “tell app” or “using terms” clauses. Sure, it’s not really “scary,” but it’s definitely a pain. Oh well, thanks for the enlightenment on the issue.
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