label-specific settings with labelgroups Thread last updated on 2006-04-26 00:01:18

Posted by member 280260 on 2006-04-25 18:23:55

I thought I saw an example of this somewhere, but after searching I haven't been able to find it again. Just checking to make sure I'm not delusional....

Is it possible to specify !bangs for a labelgroup which are then called with label-specific information? For example:
*label foo
{...}
fooAddToGroup group

*label bar
{...}
barAddToGroup group

groupOnLeftClick !labelConfigure %[labelname]%


This would be incredibly useful, but I have a sneaking suspicion that I'm making it all up. Am I?

Posted by member 212670 on 2006-04-25 18:53:10 link

That works, but you have to use !ParseEvars to get %[labelname]% to expand to the label's actual name.

groupOnLeftClick !ParseEvars !labelConfigure %[labelname]%

Posted by member 280260 on 2006-04-26 00:01:18 link

Awesome! thx.