Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What Firefox plugin or software can open a file from the clipboard?

I've asked this on Stack Overflow: How can I start a Windows GUI program using PHP? – but it seems hard to do it only using PHP code.

share|improve this question
up vote 0 down vote accepted
  • Not quite sure what you mean but there's "Launch Clipboard" add-on for FF.

  • You can use keyboard shortcut to launch FF with filename contained in clipboard. AutoHotkey http://www.autohotkey.com/. Create "*.ahk" file anywhere and place smth like this into it:

    #H::
    clipboard = %clipboard%
    EnvGet, programs, ProgramFiles(x86)
    StringReplace, programs, programs, \, \\, All
    Run, "%programs%\\Mozilla Firefox\\firefox.exe" file:///%clipboard%
    return
    

Run the script (H icon will appear in tray).

The script above will open things like "c:\docs\file.html" (contained in clipboard) in FF when you press Win+H (#H). Look through autohotkey documentation to define any other hotkey. You can also extend the script's functionality to store clipboard into a file and open it with FF.

share|improve this answer
    
thank you very much . – linjuming Dec 28 '12 at 18:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .