# Notepad++ and Mod360

• Hi there i try to explain…i am totally newbie i do not know if notepad++ can do this…
For instance i have a file txt like this:

12.1 sound good enough
15.3 is it quite useful
359.13 pretty simple…

notepad ++ shoule “see” the file, and must ask me what number i must add for exampl 15… after that must calculate

12.1 + 15 = 27.1 + 15= 42.1 + 15=57.1+15=72.1+15=87.1 and so … tilll 360 so the value will arrive at 357.1 and then the process must stop cause we arrived in a value OVER 360… notepad++ must print the values like this in a txt… KEEPING THE CORRECT COMMENT so for 12.1 must create a file (or can do everything in a single file in a colomn) like this:
27.1 sound good enough
42.1 sound good enough
57.1 sound good enough
72.1 sound good enough
87.1 sound good enough
102.1 sound good enough
117.1 sound good enough
132.1 sound good enough
147.1 sound good enough
162.1 sound good enough
177.1 sound good enough
192.1 sound good enough
207.1 sound good enough
222.1 sound good enough
237.1 sound good enough
252.1 sound good enough
267.1 sound good enough
282.1 sound good enough
297.1 sound good enough
312.1 sound good enough
327.1 sound good enough
342.1 sound good enough
357.1 sound good enough

and for the other lines in the source file must be done the same… or in a brand new file or queing in the same file in colomn
notepad++ is able to do this?
Thanks

• Hi there i try to explain…i am totally newbie i do not know if notepad++ can do this…
For instance i have a file txt like this:

12.1 sound good enough
15.3 is it quite useful
359.13 pretty simple…

notepad ++ shoule “see” the file, and must ask me what number i must add for exampl 15… after that must calculate

12.1 + 15 = 27.1 + 15= 42.1 + 15=57.1+15=72.1+15=87.1 and so … tilll 360 so the value will arrive at 357.1 and then the process must stop cause we arrived in a value OVER 360… notepad++ must print the values like this in a txt… KEEPING THE CORRECT COMMENT so for 12.1 must create a file (or can do everything in a single file in a colomn) like this:
27.1 sound good enough
42.1 sound good enough
57.1 sound good enough
72.1 sound good enough
87.1 sound good enough
102.1 sound good enough
117.1 sound good enough
132.1 sound good enough
147.1 sound good enough
162.1 sound good enough
177.1 sound good enough
192.1 sound good enough
207.1 sound good enough
222.1 sound good enough
237.1 sound good enough
252.1 sound good enough
267.1 sound good enough
282.1 sound good enough
297.1 sound good enough
312.1 sound good enough
327.1 sound good enough
342.1 sound good enough
357.1 sound good enough

and for the other lines in the source file must be done the same… or in a brand new file or queing in the same file in colomn
notepad++ is able to do this?
Thanks

Hi there i try to explain…i am totally newbie i do not know if notepad++ can do this…
For instance i have a file txt like this:

12.1 sound good enough
15.3 is it quite useful
359.13 pretty simple…

notepad ++ shoule “see” the file, and must ask me what number i must add for exampl 15… after that must calculate

12.1 + 15 = 27.1 + 15= 42.1 + 15=57.1+15=72.1+15=87.1 and so … tilll 360 so the value will arrive at 357.1 and then the process must stop cause we arrived in a value OVER 360. of course if some value is OVER 360 must be calculate… for example if i start to count from 315 arriving at 360 must return from zero and stop when i will arrive at 315… for instance
330 345 0 15 30 45 till arriving again at 315
notepad++ must print the values like this in a txt… KEEPING THE CORRECT COMMENT so for 12.1 must create a file (or can do everything in a single file in a colomn) like this:
27.1 sound good enough
42.1 sound good enough
57.1 sound good enough
72.1 sound good enough
87.1 sound good enough
102.1 sound good enough
117.1 sound good enough
132.1 sound good enough
147.1 sound good enough
162.1 sound good enough
177.1 sound good enough
192.1 sound good enough
207.1 sound good enough
222.1 sound good enough
237.1 sound good enough
252.1 sound good enough
267.1 sound good enough
282.1 sound good enough
297.1 sound good enough
312.1 sound good enough
327.1 sound good enough
342.1 sound good enough
357.1 sound good enough

and for the other lines in the source file must be done the same… or in a brand new file or queing in the same file in colomn
notepad++ is able to do this?
Thanks

• @Lorenzo-Atom

Why did you feel the need to explain it twice within 7 minutes?

This is something Notepad++ cannot do.
However, a scripting plugin could do it, e.g. Pythonscript.

Someone asked a similar question yesterday, see HERE for some details on how you might solve your problem.

• @Alan-Kilborn
Thanks for the answer… as i wrote i really do not know anything…
so it impossible to do?

• impossible to do?

I guess so, without some reading and learning. :-)

• @Alan-Kilborn
You sarcasm is useful like you answers

• @Lorenzo-Atom

Sorry.
Looking at your problem, it is a bit more involved than yesterday’s Q and A that I linked to.
But the solution is still: scripting

But, aside from someone writing the entire solution for you, I’m not sure how to help someone that says “I really do not know anything” and then asks “impossible to do?” instead of asking some questions about the scripting they were directed to.

• @Alan-Kilborn
I really do nothing because is true… i am able to speak 3 languages, but is true i use noteapd++ for something very very simple… i do not know anything about programming scripting or something else…
Should be the same if i ask you to write down a poem in italian… from scratch… i think you got the point.