View Issue Details

IDProjectCategoryView StatusLast Update
0010846ScribusScripterpublic2012-07-05 18:52
Reporterale Assigned Tojainbasil  
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Product Version1.5.0svn 
Summary0010846: new scripter: couldn't find a way to tell the type of the item
Descriptioni couldn't find a way -- nor in the docs nor in the code -- to tell if the the selected item (or any item) is a text frame, an image frame or something else.

the best thing i could find is "type(Scripter.activeDocument.activeItem)" but its result is "tainted" by "mikro" and not really nice to use
TagsNo tags attached.
Patch

Activities

ale

2012-07-05 18:52

manager   ~0028377

personally, i would prefer having "item.textFrame" rather than "item.type = FRAME_TEXT"

Issue History

Date Modified Username Field Change
2012-07-05 17:45 ale New Issue
2012-07-05 17:45 ale Status new => assigned
2012-07-05 17:45 ale Assigned To => jainbasil
2012-07-05 17:45 ale Issue generated from: 0010843
2012-07-05 18:14 ale Issue cloned: 0010847
2012-07-05 18:44 ale Issue cloned: 0010849
2012-07-05 18:52 ale Note Added: 0028377