All Questions
72
questions
0
votes
0
answers
28
views
Notepad++ Macros
Is there a way to edit the test I have in a Macro? ex.
I want to put the following text in a Macro for a cookbook Recipe:
Exported from MasterCook *
{Recipe Name}
Recipe by : {^v post name copied ...
-1
votes
1
answer
25
views
Macros to isolate lat and long values and format for JS
Im trying to record a macro in notepad++ on a city dataset, trying to grab just the lat and longs for use in js.
For example, I am trying to turn a line like this:
'Nice',43.7034,7.2663,'France',...
1
vote
1
answer
421
views
How to using regular expressions (regex) to modify all occurrences of a string that follow another string (Notepad++ macro)?
In the following minimal reproducible example, I want to make all the words in section [bar] lowercase:
[foo]
foo1=Hello World
[bar]
bar1=Hello World
bar2=Worldly Hello
The desired output is:
[foo]
...
0
votes
1
answer
86
views
notepad++ How to assign two macro to same key?
Using the GUI: I assigned a macro to allow me to select the current line my cursor is on. I assigned it to 'ctrl+a', and reassigned 'select all' to 'ctrl+alt+a'. I now want, when I press 'ctrl+a' a ...
-2
votes
2
answers
1k
views
Parse the string using RegEx in notepad++
I am trying to parse out some data using notepad++ macro. Here is the example of the data I have
<abcdefghkdadajsdkdjg><hhDate>2019-12-31 <dklajdlajdkjasd>
I want hhDate 2019-12-...
1
vote
2
answers
2k
views
Notepad++ | Show macro script
Is it possible to show the script of a macro to learn what it actually does?
Where are the macros stored so I can inspect the files, maybe they are human readable.
1
vote
1
answer
489
views
Notepad++: Record macro will not remember steps taken within Column Editor
I'm trying to remove duplicates in an document. This includes both of entries it finds without moving the order of the entries.
Example
A
B
C
Random info
B
C
Results
A
Random info
I found how to ...
-1
votes
1
answer
86
views
Large Dataset in insert statement using Macro on Text Editor
Junior Developer here working with Microsoft SQL and Macros in Text Editors
Hey -
I have a dataset here that I have to insert into a table, multiple times.
I have a contacts table, and have to add ...
0
votes
1
answer
70
views
How to read all comments from notepad++ file and paste it to another files with steps using MACROS
I have 18 text files in a directory. I want to read comments from each of 18 files and copy paste those comments in new file with suitable names.
I know we can do this using Macros by following ...
0
votes
0
answers
170
views
Automate Notepad++ Macro
I've created a Notepad++ Macro that I need to run at a set interval.
Is there a way to schedule running a macro - for example every 15 minutes?
1
vote
0
answers
221
views
Create a Msg box in Notepad++ Macros
I have a macro that finds 's and replaces few strings. Below is the code. What I want Notepad++ to do is to show a message box if it doesn't find the string "_last". How to achieve this?
&...
4
votes
1
answer
3k
views
Notepad++ macro in menu bar with icon
I'm looking for a way to add a macro as an icon in the toolbar.
It seems possible to bind keys to the macro, customize the toolbar with Customize Toolbar and use toolbarIcons.xml to customize it. But ...
0
votes
1
answer
1k
views
Copy selected content form one sheet of notepad++ to another
I have a data which is pipe separated ex.
1|2|3|4|5|6|7|8|9|10|
I have to copy and paste (to new sheet) only that which is between pipe 6 - 9
I have 10,000 rows like this
how can we do this? How ...
1
vote
1
answer
760
views
How to find and replace between two files using a macro in notepad++
Iv tried multiple different ways to replace text between two files using a macro but I cant get it to work. My understanding of recording macros in notepad++ is that you can only use keystrokes to ...
0
votes
1
answer
829
views
Notepad++ macro to remove lines within specific range
I have a file with some raw data like this:
RMR,IV,0000771702159,PO,189.63,193.5,3.87
REF,DP,00081
REF,MC,543908537
REF,19,27
REF,ST,0078742064345
DTM,097,20170130
RMR,IV,0000771702454,PO,202.5,202.5
...