Can't move windows in a loop

When I log in, I want Keyboard Maestro to start Aquamacs, make Aquamacs open some files, and reposition the resulting windows. I want the windows to cascade down the screen, each one offset by a small amount from the one "before". I have a macro that works except for the "reposition windows" part. Here is my macro. I think this is a simple misunderstanding of how to handle variables in a loop.

The bright red is Keyboard Maestro trying to tell you something, namely that %YOffset% is not a valid calculation.

See Text Fields in Keyboard Maestro for the difference between text fields (which expect text tokens like %Variable%YOffset%) and calculation fields (which expect formulas like YOffset + 20).

Thanks vrey much, that totally answers the question.