Macro problem
-
Hello, All,
I need your help for a macro problem !
On my portable
v8.9release of N++, I installed three pluginsComparePlus,Columns++andNppUISpyI have two files, one in each N++ view .
- In the main view, I have a list of regexes, in a
txtfile, in order to count the number of chars of any Unicode block. For instance :
[\x{0000}-\x{007F}] | 128 | Basic Latin [\x{0080}-\x{00FF}] | 128 | Latin-1 Supplement [\x{0100}-\x{017F}] | | Latin Extended-A [\x{0180}-\x{024F}] | | Latin Extended-B [\x{0250}-\x{02AF}] | | IPA Extensions [\x{02B0}-\x{02FF}] | | Spacing Modifier Letters ... ...- In the secondary view, I have the
Total_Chars.txtfile, in N++ read-only mode, which contains all Unicode characters, minus the empty Unicode planes and few other zones
So my goal is :
-
First, I select a regex, in the main view
-
Then, the macro :
-
Do the
Copyaction -
Switch from main to secondary view
-
Open the Search dialog of the
Columns++plugin -
Do the
Pasteaction within the plugin dialog
-
Here are the contents of this macro :
<Macro name="Blocks" Ctrl="no" Alt="no" Shift="no" Key="0"> <Action type="0" message="2178" wParam="0" lParam="0" sParam=""/> <Action type="2" message="0" wParam="44072" lParam="0" sParam=""/> <Action type="2" message="0" wParam="22061" lParam="0" sParam=""/> <Action type="0" message="2179" wParam="0" lParam="0" sParam=""/> </Macro>However, the
Pasteaction does not occur and the search zone of the plugin is not updated with the clipboard contents :-((I also wanted, if possible, to get the total of chars, by hitting the
Alt + Tshortcut, within the Search dialog of the pluginIs there a mean to achieve such a goal ?
TIA !
Best Regards,
guy038
P.S. :
Of course, the paste action is not allowed within the
Total_Chars.txtfile which is a read-only file !But, when I added a new tab in the secondary view, it does paste the text in this new tab, and NOT within the
Find whatfield of theColumns++plugin ! - In the main view, I have a list of regexes, in a