in windows, if you select to have the battery meter show in the tray, you can left click and have a list of power settings shown. Is there a commandline equivalent to this?
i know "control.exe bthprops.cpl" will bring up the power management settings, but i need the quicklist it has.
(I'm trying to get a label to emulate the windows power icon)
thanks in advance!
you need to be able to show the context menu, through a bang or something similar? is that what you're asking?
exactly. basically somethign like mylabelonleftclick !execute [controle.exe bthprops.cpl somethingorotherparameter]
or if there'd be another way simply mylabelasdfasdfasdf !mynewbang or nething like that.
just wondering if it's possible (or if there's a place i can read up to figure it out). i'm asking because it seems to be impossible (for me at least) to figure out how to google for something relevant, most that comes up is people wanting direct links to controle panel thingamagigs (a la .cpl's).
other than actually right-clicking the icon itself, I don't think there's any way to bring up the context menu.
there was a context menu module that should just be able to do that, but i forgot the name and never used it mysef either ...
You're thinking of
this, but I believe that module is only for the typical windows right click menu that you get when right clicking something's explorer icon. I don't think that'll work for right clicking a tray icon.