Re: Bizarre error message
Re: Bizarre error message
- Subject: Re: Bizarre error message
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 12 Dec 2003 10:27:59 -0800
On 12/12/03 9:17 AM, "Mr Tea" <email@hidden> wrote:
>
Can't get {application process "Finder" of application "Finder", application
>
process "DragThing" of application "Finder", application process "iTunes" of
>
application "Finder", application process "Safari" of application "Finder",
>
application process "StickyBrain" of application "Finder"} whose not 32.
>
>
32 ? What's going on there?
I've seen that one in another context - in Entourage, I think. It too had
something to do with bad logic in a whose clause. I seem to recall that the
weird error had something to do with a bug in PowerPlant - the Carbon app
used to code Entourage and/or implement its scriptability. Maybe the Finder
developers use the same app, or something with a common derivation. Since it
never comes up when you use legitimate scripting, I don't suppose there'd be
a great urgency to fix it.
>
>
>
BTW - the actual syntax I needed was as follows:
>
>
tell application "Finder" to set visible of every process whose frontmost is
>
false and visible is true and name is not "DragThing" and name is not
>
"iChat" to false -- (all on one line)
For 'process', you're really better off using "System Events", not the
Finder nowadays.
--
Paul Berkowitz
_______________________________________________
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.