Using zorder with xlabel Thread last updated on 2004-04-14 07:50:25

Posted by member 3529 on 2004-04-14 07:15:36

I switched all my shortcuts in my lsPod theme over to xlabels. In the original lsPod theme I had a problem that my shortcuts would show through any full screen app. This was solved by adding in the script:

*Script exec !zorderTop shortcutclass "Meter Mode"

or Music mode depending on which state the theme was in. Well the script for remembering states no longer works of course since I have no shortcuts and I have no shortcutclass.
I am too dense to figure out scripting on my own and I just want to get the zorder fixed on these labels. I have 17 labels showing at one time, how do I configure this? What do you guys need to know? I would post the entire theme.rc, but it would be long and probably unnecessary.

I am using xlabel-2.8.2 and zorder-0.2. I have two label groups - MusicGroup & MeterGroup. The seven remaining labels are not in any group.
Hope this is enough info. TIA

Posted by member 125450 on 2004-04-14 07:50:25 link

I would use label toggle !bang with a save script

*Script bang !sysinfo
*script exec !LabelToggle sysinfo
*script exec !ifeval ("%{sysinfo}" = "true")'!varset sysinfo "false"' else '!varset sysinfo "true"'
*script ~bang


Then setup something like this in your var file

sysinfo true

and add this to the file with label settings

If sysinfo = false
Label1StartHidden
EndIf

This should hide the label and remember the setting