Dear OpenFlipper-Team,
in order to streamline and simplify my scripts (often 300-500 lines), I would like to outsource recurring passages into separate scripts and call them from a main script. I can execute scripts using the scripting interface (ScriptInterface::executeFileScript())
within my plugin, but can I do so within a script? My questions:
1.
Is it possible to execute a script within another script.
2.
If so, how can I pass arguments (such as an object id to be used within the called script) and how can I get a return value (e.g. object id of newly created object).
3.
If not, any ideas on how to best implement it.
Thank you for your kind help.
Regards,
Jens Kuehnle
![]()
Jens Kühnle
MSc. Dipl.-Math.
Fraunhofer-Institut für Produktionstechnik und Automatisierung IPA
Abteilung Bild- und Signalverarbeitung
Nobelstraße 12
70569 Stuttgart, Germany
Tel: +49 711 970 1861
Fax: +49 711 970 1004
mailto:jens.kuehnle@ipa.fraunhofer.de