macro question re:
-
I am running Notepad++ V8.9.7, 64-bit version on Windows 11 Pro.
I install/update Notepad++ using an installer package.
I was trying to add the Global Search stuff and was following these instructions- First, we are going to add the macro, described below, within your active
shortcut.xmlfile, right before the line containing</Macros>
<Macro name="Global Search" Ctrl="no" Alt="no" Shift="no" Key="0"> <Action type="3" message="1700" wParam="0" lParam="0" sParam="" /> <Action type="3" message="1601" wParam="0" lParam="0" sParam="(\w)" /> <Action type="3" message="1625" wParam="0" lParam="2" sParam="" /> <Action type="3" message="1602" wParam="0" lParam="0" sParam="(?1[[=$0=]]:$0)" /> <Action type="3" message="1702" wParam="0" lParam="640" sParam="" /> <Action type="3" message="1701" wParam="0" lParam="1609" sParam="" /> </Macro>Reminder :
-
If you installed N++ with an installer package, your active
shortcuts.xmlfile should be within the folder%AppData%\Notepad++ -
If you installed N++ with a portable package, your active
shortcuts.xmlfile should be along with theNotepad++.exefile, in your install folder -
You may also define a shortcut for this
Global Searchmacro, by opening theSettings > Shortcut Mapper... > Macrostab and double-clicking on theGlobal Searchline !
When I tried the above I has 2 issues:
- I have a “shortcut"s”.xml, not a shortcut.xml file. I assume this was a typo??
- I was unable to create a shortcut for this Global Search, When I open the Settings > Shortcut Mapper… > Macros tab I get this result:

I don’t see a Global Search line to double-click on.
Please advise.
moderator edit: added
>for quoting, fixed underlying markdown to match the original post, so that it’s an accurate representation of what @guy038 wrote in the original post). - First, we are going to add the macro, described below, within your active
-
I assume you are talking about this post by @guy038 . If you’re going to create a new topic based on instructions given in a different topic, the least you could do is link to it. (Or you could have just clicked “reply” on that post, as it would have auto-linked, and kept the discussion in one place rather than fracturing it)
I assume this was a typo??
The same post lists both
shortcut.xmlandshortcuts.xml, so the incorrect one was most likely a typo on @guy038’s part.I was unable to create a shortcut for this Global Search,

It’s there for me. Is the macro in the Macro menu yet? If not, did you remember to save the
shortcuts.xmlfile and then exit Notepad++ and restart, because Notepad++ doesn’t re-read that config file for new macros when you save it: you have to exit the app and launch it again to have it reload the config files.
update: Looking at @guy038 's original, he said,
Reminder :
-
If you installed N++ with an installer package, your active
shortcuts.xmlfile should be within the folder%AppData%\Notepad++ -
If you installed N++ with a portable package, your active
shortcuts.xmlfile should be along with theNotepad++.exefile, in your install folder -
You may also define a shortcut for this
Global Searchmacro, by opening theSettings > Shortcut Mapper... > Macrostab and double-clicking on theGlobal Searchline !
Now :
-
Close and restart Notepad++
-
Paste the French text, below, in a new tab ( I rewrote the same French text in different cases ! )
He should have had the
Close and restart Notepad++before theYou may also define ...– he probably didn’t notice, when typing up the instructions, that it might cause confusion.Having read my post, he will most likely fix his original, so that it has accurate instructions for future readers.
-
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