Open Dialog Sort Order
Open Dialog Sort Order
- Subject: Open Dialog Sort Order
- From: Pat Stanford <email@hidden>
- Date: Mon, 15 Dec 2003 12:58:13 -0800
I tried the archive, but it seems to be down this morning.
When I use a script to get a list of files in a folder it comes in in
normal expected ASCII order. When I look at the same folder in the open
file dialog, it is sorted differently. Why? How can I get a list in my
script that will match the Finder display on screen?
tell application "Finder"
activate
set theFolder to choose folder
set theFiles to the name of every file in theFolder
end tell
File list from script
150F77.dwg
150M75.dwg
200F45.DWG
200f45a.dwg
200F85.DWG
200M07.DWG
200M09.DWG
22C05.DWG
22C05NEW.DWG
22C05OLD.DWG
2B4P23.DWG
2B4P24.dwg
2BC01R.DWG
File list from Finder
2B4P23.DWG
2B4P24.dwg
2BC01R.DWG
22C05.DWG
22C05NEW.DWG
22C05OLD.DWG
150F77.dwg
150M75.dwg
200F45.DWG
200f45a.dwg
200F85.DWG
200M07.DWG
200M09.DWG
Thanks,
Pat
Pat Stanford
Coviana
email@hidden
_______________________________________________
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.