GamerChase Posted January 13, 2013 Share Posted January 13, 2013 I've created a basic workflow to create a bit.ly link, which is then copied to the clipboard. I wanted to have some way to have a Notification Center popup to indicate the link was created successfully, but I haven't figured that part out yet. You need to have an account with Bitly, and edit the Run Script section to copy your username and API key into place, where it says USERNAME_HERE and APIKEY_HERE. You can get your API key here, when logged into Bitly. Download the workflow here. palobo and GamerChase 2 Link to comment
Allosunshine Posted January 13, 2013 Share Posted January 13, 2013 Just tried adding a Notification as an output so I know thats its done but I'm not getting any notification. Link to comment
GamerChase Posted January 13, 2013 Author Share Posted January 13, 2013 Yeah, I know. Link to comment
palobo Posted January 13, 2013 Share Posted January 13, 2013 Nice workflow GamerChase. I've altered it slightly with the following things: Hotkey grabs selected text and passes it to the script, that way you can select a URL and hit the hotkey; Notification is posted once the script runs. Get it here: http://cl.ly/2k09260o2N15 Link to comment
GamerChase Posted January 13, 2013 Author Share Posted January 13, 2013 Dude, nice! Thanks! I just edited the text that comes up in the notification. The only thing missing from this, in an ideal world, is a way to make the image on the left of the notification the same as what comes up in the Alfred window when using it. Link to comment
palobo Posted January 13, 2013 Share Posted January 13, 2013 Works fine for me: Although I'm using Growl. Link to comment
GamerChase Posted January 13, 2013 Author Share Posted January 13, 2013 Huh. Oh well. Link to comment
Allosunshine Posted January 14, 2013 Share Posted January 14, 2013 Sweet, cheers guys. Link to comment
Allosunshine Posted January 14, 2013 Share Posted January 14, 2013 I don't seem to be getting the bit.ly image either. Link to comment
carlobloks Posted May 14, 2014 Share Posted May 14, 2014 Hi, I know this is an old topic. But is there anyway you can make the workflow to tell Bit.ly you want to customize the URL? Thanks! Link to comment
GadgetComa Posted August 22, 2014 Share Posted August 22, 2014 I just came across this workflow and it's just what I needed. Thanks to all who have contributed. I made a minor change to use Bit.ly's secure connection to protect the username and api_key. Download the update from here: http://gcoma.me/1q4x32s. Regards, - Leon krislinus 1 Link to comment
krislinus Posted September 16, 2014 Share Posted September 16, 2014 Works perfectly, thank you!! Link to comment
jarechu Posted January 10, 2015 Share Posted January 10, 2015 Hi, Thanks a lot for the workflow to both: Pedro Lobo and GadgetComa, but remove your Bitly username and API key from the script, It is available to everyone who downloads the script! Link to comment
rspike12 Posted January 15, 2015 Share Posted January 15, 2015 Is there a way to add to the workflow the bitly feature to customize the URL? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now