Display full version of the post: Extract numbers

PSkala
12.04.2025, 11:49
I am using your utility Extract numbers and I would like to have a small change in its behaviour. Is it possible to copy the Sum of all selected numbers to a target text?

Vladimir Michl
12.04.2025, 11:54
You can prepare the result (the Sum in your case) in a user variable and then refer to this variable - e.g. in Field.Just add the following line before the final "(princ)" line:(setvar "USERR1" (apply '+ s))You can then refer the USERR1 variable.