FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister   ProfileProfile    Log inLog in   RSS Feed

QuickTime, sorted movies under "open movie"

 
Post new topic   Reply to topic    Salling Software Forums Forum Index -> Scripting Salling Clicker for Mac
View previous topic :: View next topic  
Author Message
danielfo
Newbie


Joined: 01 May 2007
Posts: 9
Location: Bavaria

PostPosted: Thu May 03, 2007 5:17 pm    Post subject: QuickTime, sorted movies under "open movie" Reply with quote

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]
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Salling Software Forums Forum Index -> Scripting Salling Clicker for Mac All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group