Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I'm looking for a way to open the url in clipboard with Alfred - using shortcut key. Can we do this ?

Example:

I select an url then I click a combo key. My browser will open that url

share|improve this question
    
I don't understand. Is Alfred involved in this? You select url in random program. You press a key. The browser opens the URL. How does this involve Alfred? –  None of the above Aug 30 '12 at 1:50
    
actually, alfred can search google of selected text. So it can do this thing :) –  nXqd Aug 30 '12 at 2:29

2 Answers 2

up vote 2 down vote accepted

I've resolved the problem myself. Here is the guide :

In Alfred ( make sure you have Powerpack ), make a shellscript in extensions:

/usr/bin/open -a "/Applications/Google Chrome.app" {query}

Create an extensions in hotkeys which use our created extension with the argument is selected text in OS X.

Set your keyboard shortcut. And now, when you want to open selected url, just select the url then press your keyboard shortcut.

share|improve this answer

Easy.

  1. Bring up the Alfred window
  2. Press cmd-v
  3. Press enter
share|improve this answer
    
just edit my question :) I want to open using a shortcut key or even better, just select text and open. No need to cmd+v –  nXqd Aug 30 '12 at 1:03

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.