Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

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.