proj = projects.primary
proj.create_external_file_object(r'd:\tmp\README.txt', 'someText', ReferenceMode.Embed, AutoUpdateMode.Always)
found = proj.find('Application', True)
if found is not None and len(found) == 1:
Β Β raise Exception("No or more than one object found")
app = found[0]
app.create_external_file_object(r'd:\tmp\README.txt', 'someTextBelowApp', ReferenceMode.Link, AutoUpdateMode.Never)
BR
Martin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am still not able to figure out how to use the the classes and their functions. π
Let's say I would like to use the function "importfile()" from the class "ScriptTextListObject.ScriptTextListMarker".
I would be grateful for an additional example. Thanks! π
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've been trying to find out how to utilize the features defined on https://help.codesys.com/webapp/idx-scriptingengine;product=ScriptEngine;version=3.5.13.0
Thanks.
Hi.
Here is some example code:
BR
Martin
Hi,
I am still not able to figure out how to use the the classes and their functions. π
Let's say I would like to use the function "importfile()" from the class "ScriptTextListObject.ScriptTextListMarker".
I would be grateful for an additional example. Thanks! π