• 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
Finder selection in column view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Finder selection in column view


  • Subject: Finder selection in column view
  • From: David Crowe <email@hidden>
  • Date: Sun, 10 Nov 2002 13:03:34 -0700

Doug;

I replicated your results with:

tell application "Finder"
get selection
end tell


... with folder(s) selected in column view.

I'm guessing that you only get something in 'the selection' from the rightmost window. Note that if a single folder is selected, you will have a list of files in the rightmost window. If one or more of these are selected, running the above script will provide a list with those files (or folders).

There is an ambiguity, and AppleScript has obviously chosen to interpret your script as asking for the list of items selected in the rightmost window.

Note that if you select more than one folder, then the rightmost window disappears, because you aren't allow to see a consolidated list from multiple folders.

This ambiguity will not occur if you use one of the other types of view.

- David Crowe
_______________________________________________
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.

  • Prev by Date: 'Applescript-Users you have a greeting card from .
  • Next by Date: "of machine" use?
  • Previous by thread: 'Applescript-Users you have a greeting card from .
  • Next by thread: "of machine" use?
  • Index(es):
    • Date
    • Thread