danielfo Newbie

Joined: 01 May 2007 Posts: 9 Location: Bavaria
|
Posted: Thu May 03, 2007 5:17 pm Post subject: QuickTime, sorted movies under "open movie" |
|
|
Replace this in "Open Movie.scpt" to get a list of sorted file names
[code:1]return found_mac_aliases[/code:1]
with
[code:1]
set old_delims to AppleScript's text item delimiters
set AppleScript's text item delimiters to {ASCII character 10}
set list_string to (found_mac_aliases as string)
set new_string to do shell script "echo " & quoted form of list_string & " | sort -f"
set found_mac_aliases to (paragraphs of new_string)
set AppleScript's text item delimiters to old_delims
return found_mac_aliases
[/code:1] |
|