ray at linkit.com
Tue Jan 25 19:28:20 EST 2011
I'm printing a stack of 10 cards. Cards 2, 4 and 6 display a URL via the
revBrowser commands while the others do not. The following script does not
work since each time the revBrowserPrint command is called the script
continues to execute without waiting for the user to dismiss the print
dialog which revBrowser produces (and it's seems there's no way to suppress
repeat with C=1 to number of cards
go cd C
put the BrowserId of this cd into myId
if myId is a number then
else print this cd
Wrapping the same kind of a script in 'open printing' and 'close printing'
also fails since revBroswerPrint seems to be oblivious to 'open printing'.
I've tried inserting an answer command to confirm printing each card. This
seems to work but then even this gets ahead of the revBrowserPrint as the
answer dialog window starts coming up on top of a previously displayed print
dialog produced by revBrowserPrint which the user hasn't dismissed yet (and
need to dismiss first or printing gets out of order).
Anybody with any ideas on how to work around this?
More information about the Use-livecode