• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bizarre error message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Bizarre error message
      • From: Mr Tea <email@hidden>
References: 
 >Bizarre error message (From: Mr Tea <email@hidden>)

  • Prev by Date: Type and Creator while being copied or created - part two
  • Next by Date: Re: Bizarre error message
  • Previous by thread: Bizarre error message
  • Next by thread: Re: Bizarre error message
  • Index(es):
    • Date
    • Thread