@Extreme-Gio Something about your reply (maybe the words “old method”) reminded me of something I put together a while back which was very easy to repurpose to meet your need (completely outside of Notepad++):
@echo OFF rem -- Cellvars.cmd -- Ref: https://community.notepad-plus-plus.org/topic/21946/there-is-a-plugin-for-inster-sequence-numbers rem x is start index, gets incremented; set x=0 rem xp is the leading padding string used in the var name; stays constant; it's length should be the number of 0's needed while x is a single digit set xp=0 REM set tot num of vars needed set count=17 DEL /P out1.txt :LOOPN9 set x2=%xp%%x% REM the number after the ~- should be (length of xp) + 1; example: for 500 vars, need xp=00, and use :~3 in next command echo var cell%x2:~-2%=Math.round(msg.payload.minutely[%x%].precipitation *600) /10; >>out1.txt set /a x=%x%+1 if %x% LSS %count% GOTO LOOPN9Save it to new file Cellvars.cmd and execute it at command prompt. Output goes to a file called out1.txt so make sure there’s no local file with that name that you need to keep.