View Issue Details

IDProjectCategoryView StatusLast Update
0010549ScribusScripterpublic2012-01-28 10:13
Reporterupegelow Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status newResolutionopen 
Product Version1.4.0 
Summary0010549: scribus.groupObjects() should return the name of new group
DescriptionCurrently there is no simple and documented way to get the name of a newly generated group under scripter.

It would be ideal if scribus.groupObjects(...) would return that name. Currently it just returns None. Therefore I'm quite sure that such an extension would not break existing scripts.
Additional InformationATM I use the following technique to get a group's name:

scribus.groupObjects(['Item1', 'Item2'])
scribus.deselectAll()
scribus.selectObject('Item1')
groupname = scribus.getSelectedObject(0)

However this is not documented and might fail depending on version. Scribus 1.3.x would require scribus.getSelectedObject(1) to get the right group name.
TagsNo tags attached.
Patch

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2012-01-28 10:13 upegelow New Issue