battery meter popup Thread last updated on 2005-08-19 14:15:34

Posted by member 127231 on 2005-08-17 03:26:33

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!

Posted by member 1316 on 2005-08-17 18:16:07 link

you need to be able to show the context menu, through a bang or something similar? is that what you're asking?

Posted by member 127231 on 2005-08-18 08:26:32 link

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).

Posted by member 1316 on 2005-08-18 15:32:19 link

other than actually right-clicking the icon itself, I don't think there's any way to bring up the context menu.

Posted by member 48370 on 2005-08-19 08:25:44 link

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 ...

Posted by member 212670 on 2005-08-19 14:15:34 link

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.