Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Clipboard and nppExec

NppExec
chaos51
2013-01-18
2013-05-21
  • chaos51
    chaos51
    2013-01-18

    Hi,

    I am wondering if it has been considered to allow nppExec to operate on the clipboard (or text selection). 

    Why would I want that feature?

    Well, sometimes executing on the whole file is just too brute force. Especially if you modify the file, you need to reload it, and all you undo's are gone, as well as your bookmarks.

    Being able to save the clipboard / selection to a file, execute a command on it, and then restore the file back to the clipboard / selection, could make it easier to write simple script to automate programming.

    For example, I sometimes would like to type a keyword, select it, and then after running my external script the keyword ha tranformed into a structure / function / for loop, or whatever.

    Or am I asking for something that already exists under a different moniker?

    Regards
    DaC

     
  • DV
    DV
    2013-01-18

    NppExec Manual, section 4.6.3 + "nircmd clipboard …". 
    Get nircmd and other useful tools here: http://www.nirsoft.net/