Scribus is an open source digital publishing project that offers Python scripting much like VBA is to Microsoft Excel and Word. I'd like to be able to use the objects exposed to Python in Scribus and do not know how to modify PyDev to accomplish this.

Here's what is available:

1) *.h and *.cpp files that wrap the desired objects, e.g. page, items, layers &etc. 2) files (generated from a Python script) containing the API points, i.e. api_Scripter.activeDocument.activePage.items.api, in the format of:

/**
* Scripter.activeDocument.activePage.items[i].objectName
* Property
* type is QString
*/

/**
* Scripter.activeDocument.activePage.items[i].itemName
* Property
* type is QString
*/

The above files are from the Subversion repository, see

http://scribus.net/websvn/listing.php?repname=Scribus&path=%2Ftrunk%2FScribus%2Fscribus%2Fplugins%2Fscripter%2F&#aca5e4fd7ca7007cd8c97fe2e13849862

I tried to add as a source folder the directory, D:\work\Scribus\src\scribus\plugins\scripter, containing these files in the PyDEV PYTHONPATH menu. It looks like pointing to that directory did no good as code that has reference to an object does not auto complete.

What may I do to have the objects exposed for the Scribus python interpreter available in PyDev?

Thank you,

John

<<attachment: jlpoole56.vcf>>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
pydev-code mailing list
pydev-code@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-code

Reply via email to