Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 09, 2016, 11:31:42 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Looking for a Firefox addon: View selected text in an editor  (Read 1598 times)

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
    • View Profile
    • Donate to Member
I just want to be able to select some text and see them in my favorite editor. There are tools to see the source code of selected text and even there are addons that would let you edit text entry area in an external editor. These are not what I am looking for. What I am looking for is an addon that would let me see the selected text in an external editor pretty much just for reading purposes, just simple text.

I probably will write a simple Python or Ahk hack if I cannot find one.

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
    • View Profile
    • Donate to Member
Re: Looking for a Firefox addon: View selected text in an editor
« Reply #1 on: June 14, 2009, 06:11:29 PM »
Ok I just put this one together. It works as long as there is only one previous window open. I use Vim as my primary text editor. Maybe someone with better ahk knowledge can help me out here

Edit: here is a better version

If WinActive ahk_class MozillaUIWindowClass
{
   ^!c::
      {
      Send, {CTRLDOWN}c{CTRLUP}
      Sleep, 100
      Run "E:\programs\Vim\vim72\gvim.exe"
      WinWait, [No Name] - GVIM,,2
      WinActivate
      Sleep, 100
      Send, {CTRLDOWN}v{CTRLUP}
   }
return
}
}
« Last Edit: June 14, 2009, 06:16:35 PM by kartal »

sword

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 200
    • View Profile
    • Donate to Member
Re: Looking for a Firefox addon: View selected text in an editor
« Reply #2 on: June 20, 2009, 03:31:36 PM »
I use Advanced Clipboard Manager to view simple clips. It is not a Firefox add-on but it works well with Firefox and clips are easily opened in WordPad. Probably in other open editors too.