Element visibility JS

9 views
Skip to first unread message

Raul SC

unread,
Jan 19, 2017, 2:03:32 PM1/19/17
to Tasker
Hello

Lately I am using JS for my Tasker tasks, especially when I work with scenes, that tasks become very long.

The problem is that I'm having trouble for the action "Visibility element"

Using this code:

Var ok = elemVisibility ("Scene", "element", "visible", 400);

The element is hidden, just like "visible" or "invisible" that is always hidden and I can not make the element show.

I do not know if I'm doing something wrong, or it may be a mistake.

A greeting.

Pent

unread,
Jan 20, 2017, 2:36:46 AM1/20/17
to Tasker
The third argument should be a boolean (true or false, without quotes).

It's currently marked as an int in the function selector, fixed that for next update.

Pent
Reply all
Reply to author
Forward
0 new messages