CopyObject() and pasteObject(): Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Scripting Index}} This is an introduction to a couple of new Scripter commands. What these allow for is for the copying of selected objects (individually) to all or a number of...") |
No edit summary |
||
Line 3: | Line 3: | ||
Eventually, I plan to write a more flexible script, but initially, the script below uses these commands to copy a selected object to all pages, odd pages, or even pages. If you specify anything else, nothing happens. | Eventually, I plan to write a more flexible script, but initially, the script below uses these commands to copy a selected object to all pages, odd pages, or even pages. If you specify anything else, nothing happens. | ||
As of this writing, these commands are not yet available in Scripter, but I am working on adding these to the svn versions of Scribus. | |||
===paste2all.py=== | ===paste2all.py=== | ||
<code> | |||
</code> |
Revision as of 17:50, 31 January 2012
This is an introduction to a couple of new Scripter commands. What these allow for is for the copying of selected objects (individually) to all or a number of pages. You might consider this as a workaround for the issue some have brought up regarding Master Pages, so that something occurring on a Master Page might be editable on individual pages.
Eventually, I plan to write a more flexible script, but initially, the script below uses these commands to copy a selected object to all pages, odd pages, or even pages. If you specify anything else, nothing happens.
As of this writing, these commands are not yet available in Scripter, but I am working on adding these to the svn versions of Scribus.
paste2all.py