• 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:Set View Options script problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:Set View Options script problem


  • Subject: Re:Set View Options script problem
  • From: Kok Ooi Kong <email@hidden>
  • Date: Thu, 24 Jul 2003 03:52:53 +0800

There are a few bugs in your original scripts. Amended as below:

tell application "Finder"
activate
tell Finder window 1
set current view to list view
tell its list view options
set sort column to modification date column
set width of column name column to 250 -- pixels wide
set width of column modification date column to 160 -- pixels wide
set width of column size column to 80 -- pixels wide
set visible of column kind column to false -- hide kind
set visible of column version column to false -- hide version
set visible of column comment column to false -- hide comments
set visible of column creation date column to false -- hide date
created
set index of column name column to 1 -- make this column the first
one
set calculates folder sizes to true
set uses relative dates to false
end tell
end tell
end tell
_______________________________________________
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: Set View Options script problem
      • From: Gary Lists <email@hidden>
  • Prev by Date: Re: Universal Date Entry (was: Date - 1 day in Address Book)
  • Next by Date: Re: OK, so how *do* you create (and expose) an Applescript dictionary to scripters?
  • Previous by thread: AppleScript can't get the index of the QuarkXPress group boxes! Help Me!
  • Next by thread: Re: Set View Options script problem
  • Index(es):
    • Date
    • Thread