-
(Difference between revisions)
(Created page with '[http://august.lilleaas.net/blog/s3-upload-snow-leopard-service Amazon S3 Snow Leopard Service] [category:Automation] [category:WebDev] [category:Mac]')(19 intermediate revisions not shown) Line 1: Line 1: + ==Automator==+ + ===WebDev Scripts===+ [http://august.lilleaas.net/blog/s3-upload-snow-leopard-service Amazon S3 Snow Leopard Service][http://august.lilleaas.net/blog/s3-upload-snow-leopard-service Amazon S3 Snow Leopard Service]- [category:Automation]+ ===Audio Conversion as a Service Menu===- [category:WebDev]+ [http://episteme.arstechnica.com/eve/forums/a/tpc/f/8300945231/m/988001944931 via]- [category:Mac]+ + * Install [[LAME]]+ * In Automator, create a new Service+ *# Get Selected Finder Items+ *# Run AppleScript+ <code>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+ </code >+ * Save your workflow as "Convert to MP3"+ * Right-click on audio file in Finder, go to the Services menu and choose your workflow.+ + Then you can use the [http://august.lilleaas.net/blog/s3-upload-snow-leopard-service Amazon S3 Snow Leopard Service] to share a link to the file.+ + [[category:Automation]]+ [[category:WebDev]]+ [[category:Mac]]+ [[category:Apple]]+ [[category:Audio]]+ [[category:Music]]+ [[category:AppleScript]]+ [[category:Terminal]]Current revision as of 02:58, 17 March 2010
Automator
WebDev Scripts
Amazon S3 Snow Leopard Service
Audio Conversion as a Service Menu
- Install LAME
- In Automator, create a new Service
- Get Selected Finder Items
- Run AppleScript
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.
Then you can use the Amazon S3 Snow Leopard Service to share a link to the file.
-
Meta