Add number in each word by Notepad++
-
I tried 2 operations and the script didn’t work.
1st operation: I opened the folder content all documents (.txt) by Folder as WorkSpace, then I clicked execute the script and displayed this message:
Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:22:17) [MSC v.1500 32 bit (Intel)] Initialisation took 31ms Ready. Traceback (most recent call last): File "C:\Users\yrkj\AppData\Roaming\Notepad++\plugins\Config\PythonScript\scripts\Hello.py", line 107, in <module> user32.SendMessageW(h_systreeview32, TVM_GETITEMW, 0, ctypes.addressof(tvitem)) NameError: name 'h_systreeview32' is not defined2nd operation :
I opened all documents (.txt) on Notepad++ and I ran the script, no change on all pages, and it didn’t display any message. -
I see, not at my computer but I think if you change this lines it should work.
if 'file_browser_treeview' in window_handles: h_systreeview32 = window_handles['file_browser_treeview'] root_nodes = enumerate_root_nodes(h_systreeview32) -
Thank you so much. The script works very well !
Thanks again for your precious help :)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login