Special:Badtitle/NS102:Scribus Times and Gazette/Enlarge2Page

Sometimes we just need a simple script to do something that isn't difficult manually, just fiddly. One of the new features in the 1.4.0 versions of Scribus is that when you create a frame, you can make it fill the page to the margins by selecting the item on toolbar, holding down Shift, then click anywhere on the page.

Once you have made the object, you have to do this manually, or maybe delete the object and start all over. But what if you want to fill the page, and you have margins of some nonzero values? In Christoph's Quick Start Guide, he shows how to manually make a shape, then enlarge it to page size, then position it at 0,0. Since he used margins of 0, he could have made use of the new Shift-click method, so I've updated the documentation (coming soon to 1.4.0svn).

But why not make a script to do this? Turns out it's quite easy, and a very short script indeed. Check Enlarge2Page to see for yourself. Maybe some day this will be one of the operations in the context menu, but until then, "there's a Script for that."