• 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 scripting bugs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Finder scripting bugs


  • Subject: Finder scripting bugs
  • From: Bill Cheeseman <email@hidden>
  • Date: Sat, 29 Aug 2009 12:40:26 -0400

I've always had a strong interest in Finder scripting, so I've been eager to see what Finder's migration to Cocoa has done to its scriptability. Here's my first bug report. I'm curious to hear others.

This script worked in Leopard but it doesn't work in Snow Leopard.

In Leopard, the script put the front Finder window into list view, made the version column visible, and set the index (column position) of the version column to 2. The version column then appeared right next to the name column.

In Snow Leopard, the indexes of the following columns remain unchanged, so that I end up with two columns having index 2 and none having index 7. The column positions do not change, and the version column does not become visible.

I expect many more Finder scripting bugs will become evident over the next few days. <sigh>

tell application "Finder"
activate
set current view of front window to list view
tell list view options of front Finder window
tell column name column
set visible to true
set index to 1
set width to 250
end tell
tell column version column
set visible to true
set index to 2
end tell
end tell
end tell

--

Bill Cheeseman
email@hidden

 _______________________________________________
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

  • Follow-Ups:
    • Re: Finder scripting bugs
      • From: Luther Fuller <email@hidden>
  • Prev by Date: Re: Snow Leopard AppleScript Release Notes
  • Next by Date: Getting Mailbox problem....
  • Previous by thread: Applets and Rosetta
  • Next by thread: Re: Finder scripting bugs
  • Index(es):
    • Date
    • Thread