Print card
Ken Ray
kray at sonsothunder.com
Mon Jul 1 16:17:01 EDT 2002
Sorry, Yves, I thought the printing stack was already open. You can use
"open inv stack" to open a stack invisibly, and it will automatically get
the focus, as in:
open inv stack "printStack"
refShowPrintDialog false,true
print card 1
close stack "printStack"
Personally, I would lock messages before opening the printing stack and
unlock them afterwards, just so you don't have extra open/close stack
messages flying around (unless of course you depend on them).
Hope this helps,
Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
----- Original Message -----
From: "Yves Coppé" <yvescoppe at skynet.be>
To: <use-revolution at lists.runrev.com>
Sent: Monday, July 01, 2002 1:36 PM
Subject: Re: Print card
> >Yves,
> >
> >Can you try:
> >
> >put the short name of this stack into currStack
> >lock screen
> >set the defaultStack to "otherstack"
> >refShowPrintDialog false,true
> >print card 1
> >set the defaultStack to currStack
> >unlock screen
> >
> >This is off the top of my head, but it should work...
> >
>
> I get an error :
>
> * There was an Execution Error at 8:31:52 PM
> Error description: print: card or stack must be open to print it
>
>
> so I must "go to stack" and although the lock screen you see the go
> to stack on the screen...
>
> Any other idea ?
>
> Thanks.
> --
> Greetings.
>
> Yves COPPE
>
> Email : yvescoppe at skynet.be
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list