Read the first line again

Well, this is oversimplified a bit, you'll need to add in your size calcs and so forth yourself
ALL of the examples you showed start with %act. If others dont just set them to the same thing.
var %act = echo @preview, %somethingelse = echo @preview
etc.