cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
736
Views
5
Helpful
3
Replies

(CE9.3) UnSet the button on touchpad

QNZenX
Level 1
Level 1

Dear all,

I'm trying to Unset the button to show on the group button, for example:

2 groups: left, right.

in each group I have: 5 button

But it does not work, can someone help me? Thank you.

 

function setbutton(event){
xapi.command('UserInterface Extensions Widget UnsetValue', value == 'widget_left');
xapi.command('UserInterface Extensions Widget UnsetValue',  value == 'widget_right');
}

 

1 Accepted Solution

Accepted Solutions

The API command is:

xCommand UserInterface Extensions Widget UnsetValue WidgetId: "widget_left"

So, if I'm translating it correctly, the xAPI command would be:

xapi.command("UserInterface Extensions Widget UnsetValue", {WidgetId: "widget_left"}); 

 

Wayne

Please remember to mark helpful responses and to set your question as answered if appropriate.

View solution in original post

3 Replies 3

Wayne DeNardi
VIP Alumni
VIP Alumni

You haven't specified the widgetId

Wayne

Please remember to mark helpful responses and to set your question as answered if appropriate.

Dear Wayne,
Thank you for your replies, I think I already put the widgetID in, or may be I my command is wrong?Screen Shot 2019-09-16 at 8.48.49 AM.png

The API command is:

xCommand UserInterface Extensions Widget UnsetValue WidgetId: "widget_left"

So, if I'm translating it correctly, the xAPI command would be:

xapi.command("UserInterface Extensions Widget UnsetValue", {WidgetId: "widget_left"}); 

 

Wayne

Please remember to mark helpful responses and to set your question as answered if appropriate.