• 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
Another Tiger mystery...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Another Tiger mystery...


  • Subject: Another Tiger mystery...
  • From: David Crowe <email@hidden>
  • Date: Wed, 27 Jul 2005 14:20:51 -0600

Title: Another Tiger mystery...
The following script works (it closes all Finder windows except the frontmost):

tell application "Finder"
      
set Window1Name to name of window 1
    
set theList to every window whose name ‚ Window1Name
   
close theList
end tell


Yet, the following code, which used to work in 10.3, no longer works:

tell application "Finder"
      
set Window1Name to name of window 1
    
close (every window whose name ‚ Window1Name)
end tell


The error is: "Finder got an error: Handler can't handle objects of this class."

Can anyone explain?

- David Crowe
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Another Tiger mystery...
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: tiger problem with keychain scripting....
  • Next by Date: Re: Another Tiger mystery...
  • Previous by thread: Re: set myList to myList & ...(Digest, Vol 2, Issue 493)
  • Next by thread: Re: Another Tiger mystery...
  • Index(es):
    • Date
    • Thread