Re: FMP 6.0v3, OS X 10.2 and AppleScript -> Broken
Re: FMP 6.0v3, OS X 10.2 and AppleScript -> Broken
- Subject: Re: FMP 6.0v3, OS X 10.2 and AppleScript -> Broken
- From: Simon Forster <email@hidden>
- Date: Wed, 18 Sep 2002 17:24:48 +0100
On Wednesday, September 18, 2002, at 04:22 PM, Mr Tea wrote:
tell application "FileMaker Pro" to return count of windows
throws an error: "FileMaker Pro got an error: Object not found."
Have you tried:
tell application "FileMaker Pro" to return count of (get windows)
Mr Tea (or can I call you Nick?)
Unfortunately, this fails
...or writing the list of windows to a variable first?
tell application "FileMaker Pro"
set fenestrations to every window
count of fenestrations
end tell
As does this.
This coercive extra step seems to be necessary all over the shop in
more
recent versions of AS.
I had noticed this but it seemed to be a general OS X problem. The
error I'm reporting here is introduced with OS 10.2. The latest and
greatest 10.1.x works fine. I have 2 quite hefty scripts which whirr
and click away every morning at 3:00 am on a 10.1.5(?) box. I had
planned to copy the scripts to another machine so that I could upgrade
their current residence and then have a go at failing to get Sendmail
working and failing to get Mailman installed on the newly cleared
machine. Happily I checked the scripts under OS X 10.2 before I got too
far advanced with this plan. Now I'm back at the drawing board!
Simon Forster
_________________________________________________
BabelFix Ltd, Office One, 16 Canham Road, London, W3 7SR, UK
<tel int="+44 20 8746 0555" uk="020 8746 0555">
<tel int="+44 70 9230 5244" uk="070 9230 5244">
<fax int="+44 70 9230 5247" uk="070 9230 5247">
<
mailto:email@hidden>
_________________________________________________
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.