Creating Python Scripts with ScriptForge

Differences between Basic and Python

The ScriptForge library is available both for Basic and Python. Most services, methods and properties work identically in both programming languages. However, due to differences in how each language works, ScriptForge users must be aware of some characteristics of the library when using Python:

Tip Icon

Visit LibreOfficeDev Python Scripts Help for more information on Python scripting using LibreOfficeDev.


Editing Python scripts in IDEs

Python typing hints - relating to ScriptForge services public methods and properties - can be obtained from IDEs that support such facility. Visually, while editing a user script:

Note Icon

Typing hints are displayed when editing methods and properties with propercase letters.


Running Python scripts on LibreOfficeDev

D'oh! You found a bug (text/sbasic/python/python_execute.xhp#running not found).

D'oh! You found a bug (text/sbasic/python/python_execute.xhp#creating not found).

D'oh! You found a bug (text/sbasic/python/python_execute.xhp#IDERun not found).

D'oh! You found a bug (text/sbasic/python/python_execute.xhp#installPath not found).

Please support us!

Please support us!