View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010549 | Scribus | Scripter | public | 2012-01-28 10:13 | 2012-01-28 10:13 |
Reporter | upegelow | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 1.4.0 | ||||
Summary | 0010549: scribus.groupObjects() should return the name of new group | ||||
Description | Currently 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 Information | ATM 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. | ||||
Tags | No tags attached. | ||||
Patch | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2012-01-28 10:13 | upegelow | New Issue |