I have a script that updates both the data and the columnAttributesData of a table, among other things. Because I’m setting multiple values with the same script, I can’t simply return a value but have to set it through the script itself.
As it is right now, I have to both link the location of the triggering property as well as type out the name of the window (property bindings don’t seem to be able to see the window’s name). I’d like to make the whole process a bit more efficient by having the calling property’s and the window’s names be automatically generated within the script.
Am I wasting my time trying to find a solution to my problem or is there something I’ve overlooked?
Essentially, what I want to get to is this:
Exception: Error executing expression binding on
caused by ExpressionException: Error executing script for runScript() expression:app.testing.test()
caused by Traceback (most recent call last):
File “expression:runScript”, line 1, in
File “module:testing”, line 16, in test
ZeroDivisionError: integer division or modulo by zero
But I’m not sure how to get that data from within the script.