-
(Difference between revisions)
(→Audio Conversion as a Service Menu)Line 7: Line 7: * In Automator, create a new Service* In Automator, create a new Service** Get Selected Finder Items** Get Selected Finder Items- **<code>on run {input, parameters}+ **<code>+ on run {input, parameters}if input is not {} thenif input is not {} thenLine 21: Line 22: return inputreturn input- end run</code>+ end run+ </code>* Save your workflow as "Convert to MP3"* Save your workflow as "Convert to MP3"* Right-click on audio file in Finder, go to the Services menu and choose your workflow.* Right-click on audio file in Finder, go to the Services menu and choose your workflow.Revision as of 03:03, 12 March 2010
Amazon S3 Snow Leopard Service
Audio Conversion as a Service Menu
- Install LAME
- In Automator, create a new Service
- Get Selected Finder Items
on run {input, parameters}
if input is not {} then set posix_file to POSIX path of item 1 of input if input is not {} then tell application "Terminal" activate set thescript to "/usr/local/bin/lame -V 0 -q 0 \"" & posix_file & "\" " do script thescript end tell end if end if
return input end run
- Save your workflow as "Convert to MP3"
- Right-click on audio file in Finder, go to the Services menu and choose your workflow.
-
Meta