Jump to content

andi242

Member
  • Posts

    4
  • Joined

  • Last visited

Posts posted by andi242

  1. Thanks for this workflow! Works great!

     

    Is it possible to use a custom short url ending? - Example:

    • I open Alfred
    • type yourls
    • enter my preferred short url, e.g. alfred

    Result: short url is like abc.de/alfred

    ooops, sorry, I did not check the forum for quite a while. did you come up with a solution, yet? :)

  2. Hi all,

     

    this will be my first shared Alfred 2 WF 

    ..please be advised, that I am no scripting expert :)

     

    What I did is to create a WF to make use of my yourls set up (http://yourls.org - custom php script to shorten urls)

    The WF will grab the frontmost URL in Safari (you might want to change the browser in the script), curl it, and copy the URL to the clipboard as well as posting a notification.

     

    Bildschirmfoto%202013-04-10%20um%2018.06

     

     

    Important:

    Be sure to make the necessary changes in the script.

    What you need to enter is your URL where yourls is located and your API token.

    I chose to make Safari the browser of choice, you might want to change that within the script, too.

     

    You obviously will need a running installation of YOURLS ;)

     

    Here's the download: http://d.pr/f/M7Xo

     

    Have fun!

×
×
  • Create New...