Expand my Community achievements bar.

Changing visibility for screen by script

Avatar

Former Community Member

I would like to change visibility for printing and screen by script.

I have something like this:

this.resolveNode("abc").presence = "visible";

I would like to get something like that:

this.resolveNode("abc").presence = "visible (screen only)";

I know this sentence is wrong but i don`t know how to get this. Anybody can help me?

1 Reply

Avatar

Level 10

Hi,

The method you are looking for is .relevant and either "-print" or "+print".

There is an example here: http://assure.ly/h7whb8, which goes through the scripting.

Hope that helps,

Niall