Finder scripting bugs
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
|
_______________________________________________
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