macros - Notepad++: Writing a run command using an installed plugin -
I'm trying to find a way to get the syntax highlighted text from N ++ and then it's MS Word Open within I have got a plugin NppExport which can save the highlighted text in an RTF file. But it seems that the N ++ macros are actually unable to use it? Any suggestions for automating this process? Thanks!
Basic Step 1) Call "export to RTF" 2) Save to $ {FULL_PATH_NAME}. RTF 3) Open RTF file 3) Open MS Word
Note: I have 4 Is detected using
& amp; Quot; C: \ Program Files \ Microsoft Office \ Office12 \ Winword.exe & amp; Quot; / F & amp; Quot; $ (FULL_CURRENT_PATH) & amp; Quot;
Since you are trapping in two programs (Notepad ++ and Word) It can be difficult to do completely in macros. I had no luck with macros beyond repetition text manipulation. But I can recommend the autohotkey.com tool which simplifies these tasks. Here is a small example that I tried. Yes it works.
^ R: WinMenuSelectItem, ahk_class Notepad ++, Plugins, NPP Export, Copy Clipboard SetTitleMatchMode, 2; Get WinActivate Microsoft Word from a partial title ^ v
This will copy the copy of the text into the RTF, copy the active window into the word and paste the code.
Comments
Post a Comment