Jump to content

Zero Cool

Member
  • Posts

    3
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Zero Cool got a reaction from politicus in How do I set Alfred up to paste in a URL using a hot key?   
    @politicus - Thank you so much for this. Once I had started reading this thread, I had given up because it seemed to complicated. I really appreciate you sending me the workflow. Made it very easy to do. I just tested it and it works perfectly.
     
    And thank you everyone else who replied. I appreciate you taking the time to help.
  2. Like
    Zero Cool reacted to politicus in How do I set Alfred up to paste in a URL using a hot key?   
    @deanishe I guess so  but thanks to @vitor's answer and a few more trials and errors better understand pbcopy and pbpaste I found a solution. 
     
    @vitor Thanks for the explanation.
     
    Before trying my solution, I red this article that says: 
     
    This (pbpaste) will print whatever data you copied from the pbcopy command or the Finder's copy command (command-c).   
    I also red this article that says:
     
    You could grab the output of a grep/awk/sed to paste into IM/IRC.  
    I, then, thought that running my script would copy "http:www.zoom.com" to the clipboard plus, not then, paste the content of the clipboard to the frontmost application. Maybe, I confused "print" with "paste" in the first article. Plus, I didn't know about pbcopy and pbpaste input/output.
     
    With your answer in mind and playing around a little more with Alfred actions, I found two different ways to make it work.  
     
    (BTW, I am curious to know how you added a grey background to pbcopy).
     
    @Zero Cool  Here is the file of the workflow. Download it here, set the keyboard shortcut you want. Replace "htttp://www.yourzoomurl.com" with the url you want in the "Copy to Clipboard" action.
     
    I tested it. It works. 
×
×
  • Create New...