
24 Jun
2025
24 Jun
'25
6:22 p.m.
Hey there So I'm invoking some rendering jobs like this: `cx --script "./a.cxc 2 3"` Inside a.cxc there's something like: ``` perframe "coordset #1 $1" frames 24 format %03d range $1,$2,1 showCommands true ``` Now the problem is that the script arguments in the script are all being replaced So $1 in the perframe subcommand becomes "2" just like in the range option I couldn't find documentation on a built-in escape mechanism yet I tried "\$1" and "$$1" w/o success tho Alternatives that I see are generating a list of script files that don't rely on substitution and have hard-coded frame offsets or ig I could also explore python scripting Wanted to ask if there's a way to do it with escaping tho Thanks!