In the Lua string:
Lua "local s,p,o=2,2,1000 for _,w in ipairs(ObjectList('ScreenContent '..s..'.*')) do if w.Name=='WindowPresetPool' and w.PresetPoolType==p-1 then w.WindowScrollPositions.ScrollV=o..','..o end end"
I wanna have a user variable like
Lua "local s,p,o=2,2,$Offset for _,w in ipairs(ObjectList('ScreenContent '..s..'.*')) do if w.Name=='WindowPresetPool' and w.PresetPoolType==p-1 then w.WindowScrollPositions.ScrollV=o..','..o end end"
Does anyone know how i can create this in this macro ?
Reason i wanna have this is that i want to add calculations to it.
Thanks