• 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: List View Problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: List View Problems


  • Subject: Re: List View Problems
  • From: Christopher Stone <email@hidden>
  • Date: Mon, 27 Dec 2010 15:40:36 -0600

On Dec 27, 2010, at 14:41, Luther Fuller wrote:
I have done some experimenting with with list view options ...
______________________________________________________________________

Hey Luther,

Starting with the 'Size' column visible:

tell application "Finder"
set testFolder to (target of front window) as alias
set winRef to (window of testFolder)
tell winRef
set current view to list view


tell its list view options
set visible of column modification date column to true # FAILED
set visible of column size column to false # FAILED
set visible of column version column to true # FAILED


set icon size to small
set text size to 12
set shows icon preview to true
set width of column name column to 300
set sort column to name column
set sort direction of sort column to normal


set sort column to size column # SCRIPT FAILS if size visible above is set to false


set sort column to name column
end tell


set toolbar visible to true
end tell
end tell

--> Finder got an error: A column must be visible to make it the sort column.

Interestingly the Finder thinks the size column is invisible even though it is not.

Note that setting the sort to name->normal; size; name forces the open window to update.

--
Chris
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >List View Problems (From: Luther Fuller <email@hidden>)
 >Re: List View Problems (From: Luther Fuller <email@hidden>)
 >Re: List View Problems (From: Christopher Stone <email@hidden>)
 >Re: List View Problems (From: Luther Fuller <email@hidden>)
 >Re: List View Problems (From: Luther Fuller <email@hidden>)
 >Re: List View Problems (From: Luther Fuller <email@hidden>)

  • Prev by Date: DS_Store Files
  • Next by Date: Url Access Scripting
  • Previous by thread: Re: List View Problems
  • Next by thread: Re: compiled scripts
  • Index(es):
    • Date
    • Thread