|
|
10.6: A Service to shorten URLs
I'd use cURL in the Automator Applescript which is pre installed in OSX. You'd then not need the Perl script. on run {input, parameters}
Best wishes
10.6: A Service to shorten URLs
I thought of doing that, but doesn't it download the webpage instead of reading the file? Or am I confused? ---
http://groups.google.com/group/applescripters/ http://qgf.in/ http://www.kompilesoft.info/
10.6: A Service to shorten URLs
Without any options cURL returns the contents of the URL. In this case it would be the shortened URL.
10.6: A Service to shorten URLs
Doggone it! I should've known. It would make the hint above that much easier. Why don't you submit that, saying it's an updated version? I'll give my permission, it's recorded here. ---
http://groups.google.com/group/applescripters/ http://qgf.in/ http://www.kompilesoft.info/
10.6: A Service to shorten URLs
There is even simpler : I am using Automator to directly run a UNIX script and to place the result into the system pasteboard. That skips the applescript part. See this post for details.
10.6: A Service to shorten URLs
I wrote a Quicksilver action based on yesiamnhoj's Terminal command: cURL.scpt
Put it in ~/Library/Application Support/Quicksilver/Actions and relaunch Quicksilver.Get a url in the first pane, press tab and find the 'cURL' action. Hit enter and get the shortened url in the clipboard and QS's first pane. I find QS a lot faster than Automator for this kind of thing. Thanks to renaultssoftware for posting the hint, and to yesiamnhoj for the command. I've been looking for this for ages! |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|