home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 November
/
CPNL0711.ISO
/
beeld
/
teken
/
scribus-1.3.3.9-win32-install.exe
/
share
/
samples
/
moins_10_pourcent_group.py
< prev
next >
Wrap
Text File
|
2004-12-14
|
416b
|
18 lines
#!/usr/bin/env python
# -*- coding: utf-8 -*-
""" Make selected group smaller by 10% """
import sys
try:
from scribus import *
except ImportError:
print "This script only runs from within Scribus."
sys.exit(1)
if haveDoc() and selectionCount():
scaleGroup(1/1.1)
else:
messageBox("moins_10_pourcent_group.py", "Please select an object to scale before running this script.", ICON_INFORMATION)