revTempBody
Mark Schonewille
m.schonewille at economy-x-talk.com
Thu Sep 21 16:53:09 EDT 2006
Thank you Dar! I should have searched the archives more thoroughly. I
will try the script.
Best,
Mark
--
Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Get your store on-line within minutes with Salery Web Store software.
Download at http://www.salery.biz
Op 21-sep-2006, om 22:45 heeft Dar Scott het volgende geschreven:
>
>> Here is a script:
>>
>> on setPrintTitle pName
>> if there is a stack "revTempBody" then
>> set the label of stack "revTempBody" to pName
>> else
>> set the label of the templatestack to pName
>> end if
>> end setPrintTitle
>>
>> Just call this before doing a revPrintText or revPrintField and your
>> PDF or preview will have the title you set.
>
> Printing on Rev takes on the name of the stack as the name of the
> print job. In some contexts (maybe yours) there are extraneous
> quotes around that.
>
> Sarah's particular situation was the preview, so you might run
> across other interesting features in file saving.
>
> Dar
More information about the use-livecode
mailing list