add to LL action (for gestures or shortcut) hide/show items.
Posted by: pierrot | on March 31, 2014
add to LL action (for gestures or shortcut) hide/show items.
For example after two finger swipe down doing hide selected panel. After again two finger swipe down doing show (visible) selected panel.
Maybe this can be as script, but i dont know how.
1) for first launch this script set items for hiding/showing, for other launch automatically hide/show items.
]]>
< ![CDATA[
var item = LL.getCurrentDesktop().getItemById(0x20007);
if ( item.isVisible() )
item.setVisibility(false);
else
item.setVisibility(true);
The only thing you need to do is replace the ID with the one of your panel/item. You can get the item id from the item hierarchy, just remember it’s in hexadecimal so you need to replace # with 0x at the beginning or convert to decimal.
]]>
< ![CDATA[
Thanks, second version of our script working.
]]>