Changeset a9e08a4
- Timestamp:
- Aug 23, 2009, 11:13:02 PM (15 years ago)
- Branches:
- master, debian, mac, no-cups, web
- Children:
- bd7b4f8
- Parents:
- 9758b72
- git-author:
- Evan Broder <broder@…> (08/23/09 20:30:42)
- git-committer:
- Evan Broder <broder@…> (08/23/09 23:13:02)
- Location:
- gutenbach-itunes-plugin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gutenbach-itunes-plugin/INSTALL
r3fde6d5 ra9e08a4 7 7 8 8 * Changelog 9 23 Aug 2009 -> broder spun loop into shell script instead of 10 applescript so that iTunes doesn't hang 9 11 9 Jan 2009 -> price added 'quoted form' 10 12 7 Jan 2009 -> kmill created initial version -
gutenbach-itunes-plugin/Send to sipbmp3.applescript
rd85614b ra9e08a4 8 8 -- Changelog: 9 9 -- 10 -- 23 Aug 2009 -> broder spun loop into shell script instead of 11 -- applescript so that iTunes doesn't hang 10 12 -- 9 Jan 2009 -> price added 'quoted form' 11 13 -- 7 Jan 2009 -> kmill created initial version … … 34 36 -- hear around you. 35 37 36 set lista to {}38 set ts to "" 37 39 38 40 tell application "iTunes" … … 40 42 if class of t is (file track) then 41 43 set loc to POSIX path of (get location of t) 42 set end of lista to "lpr -o raw -Psipbmp3" & (quoted form of loc)44 set ts to ts & " " & (quoted form of loc) 43 45 end if 44 46 end repeat 45 47 end tell 46 48 47 repeat with com in lista 48 do shell script com 49 end repeat 49 set command to "(for t in " & ts & "; do lpr -o raw -Psipbmp3 \"$t\"; done) >/dev/null 2>&1 </dev/null &" 50 do shell script command
Note: See TracChangeset
for help on using the changeset viewer.