A little more information about what your trying to do would be helpful.
From your example, it looks like your trying to write a value to a tag, then display that value on a popup window. Is this correct? If not, please tell us exactly what your trying to do.
Not exactly. 1st I want to write value to tag. 2nd I want to print that value to console. 3rd I want just to open window without sending any parameters to it.
It’s just an empty window with only one label in it.
You have to use a client script if you’re going to make project-specific modifications or calls, since the scope of the gateway contains all projects. Making a call such as opening a window can’t be done because the gateway script doesn’t know which project the script is referring to. This is something the developers have been looking into, which is to add a way to reference a specific project in a gateway script.
The print function didn’t appear in the console for a similar reason, and you should see those print results in your wrapper log.