Hi,
I can't use a shared script. I don't know why.
???
You probably need to set your Gateway Scripting Project,
https://docs.inductiveautomation.com/display/DOC80/Project+Library#ProjectLibrary-GatewayScriptingProject
Your project script seems to have incomplete functions. So that script will not compile. So that script's failure to compile will cause it to "not exist". Empty folders won't exist.
Delete your broken code from shared.whatever.schedule
. Save your project.
When calling from tag events, not @jlandwerlen's point. (The script console is not an appropriate scope for testing tag events, nor for testing Perspective action or transform scripts.)
Or add pass
as the function's body, if you want to keep the functions in there:
def decode(prompt):
pass
The functions look like they are simply folded, probably to sanitize their contents from public view. Notice the +
symbol on the left of each of them.
Thanks my problem is solved.
Good catch.
The line numbers should have been a clue...
Though it appears some of those functions actually did not compile, even if that was for a completely different reason.