Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2014
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. on open these_items
  2.  
  3. set the_items_list to "" as string
  4.  
  5. repeat with i from 1 to the count of these_items
  6. set this_item to item i of these_items
  7. set posix_path to POSIX path of this_item
  8. set the_items_list to the_items_list & " \"" & posix_path & "\""
  9. end repeat
  10.  
  11. tell application "Terminal"
  12. do script "montage -background '#336699' -geometry +4+4 " & the_items_list & " ~/Desktop/montage.jpg"
  13. delay 1
  14. do script "convert ~/Desktop/montage.jpg -resize 900 ~/Desktop/montage.jpg"
  15. delay 1
  16. quit
  17. end tell
  18.  
  19. end open
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement