Page 1 of 1

Printing animation "frames" from the same card

Posted: Sun May 10, 2015 6:17 pm
by erikhans08
For animation, I switched from cards to moving objects around on the same single card of a one card stack.
I would like to print a series of individual "frames". Maybe creating cards on the fly, printing the cards then deleting them?
Four screens to a page would be about right. That worked well with cards.

TIA

Erik Hansen

Re: Printing animation "frames" from the same card

Posted: Mon May 11, 2015 10:24 am
by Mark
Hi Eric,

There are several ways to do this. For now, let's assume you use the printer settings to print 4 pages on 1 sheet. You can print 4 cards this way:

Code: Select all

open printing with dialog
if the result is empty then
  repeat with x = 1 to 4
    doYourAnimation x
    wait 0 millisecs with messages
    print this cd
  end repeat
end if
The wait command may be unnecessary, but I've added it to give the GUI time to redraw. I assume that the handler that does the animation is called doYourAnimation and the parameter x would allow you to do different animations depending on the number of times the script has been executed already.

Kind regards,

Mark