On Saturday 02 of October 2004 14:46, Henry Hartley wrote: > My little calendar script is here: > http://www.dotrose.com/misc/computer/cal-tabloid.py > > There are a couple things you might want to change before you use it. > There is a variable called "copyrightNotice", the value of which will be > printed at the bottom of each page. I've left it blank so if you don't > change it you don't get my copyright notice. You also might want to change > the font used. Just put the font name in the FontName variable. Be aware > that different fonts are different sizes overall and some fonts may require > size adjustments to make things fit in the spaces I've provided.
Henry, it's cool script - the calendar is classic piece and quite configurable. I'll use it (propably) for the year to come ;) I've got two suggestions for you: 1) your script runs for a while - you can use Progress Bar to give feedback to the user - see: http://docs.scribus.net/index.php?lang=en&sm=scripterapi&page=scripterapi-dialogs esp. StatusMessage("string"), ProgressReset(), ProgressTotal(number), ProgressSet(number) 2) You can use the (brand new) procedure string = ValueDialog(caption, message [,defaultvalue]) from new 1.2.1cvs to get user feedback e.g. copyrightNotice = ValueDialog('Henry's Calendar', 'Type the text to be displayed on all pages...', '(c) myprinting company 2004') but it will be available only for CVS users - or in 1.2.1 after release you rules petr -- Petr Vanek -------------- petr [at] yarpen [dot] cz www.yarpen.cz ---------------- Kuolema Kaikille (Paitsi Meille) ------------------------------- Today is good day to end it all -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://nashi.altmuehlnet.de/pipermail/scribus/attachments/20041002/62d1aa23/attachment.pgp