Author Topic: Accessing item attributes  (Read 1206 times)

polpero

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
  • Scribus User
Accessing item attributes
« on: May 10, 2015, 10:54:16 pm »
Hi

Is there a way (with scripter) to access a frame attributes as defined in rightClick on frame -> attributes...?
I would like to retreive data from the value and parameter fields...

I know how to access the frame:

Code: [Select]
...
    while (page <= pagenum):
        scribus.gotoPage(page)
        d = scribus.getPageItems()
        strpage = str(page)
        for item in d:
            if (item[1] == 4):
                rawname = item[0]
                ...

but not how to get the value inserted into it's attributes
is this possible?

Thanks...