with wcol I'm getting no response, when placed in the script I try to call. I placed a message box in the code, which gets executed. When I place the code in customs.ogs it runs well.
To emphasis my problem: I can get code running in the customs.ogs script when hitting the icon. But if I move the code to another file and run this file from customs.ogs with the icon, the code seems to work somewhat different.
not working
customs.ogs
run MyScript.ogs
MyScript.ogs
int firstResultColumn = 6;
wcol($(firstResultColumn))[L]$ = "Cycle";
type -b "hello";
working:
customs.ogs
int firstResultColumn = 6;
wcol($(firstResultColumn))[L]$ = "Cycle";
type -b "hello";
I tried:
manually creating the columns before executing -> no change
referencing with $() and without -> no change