HardwareGrowler and USB device menu?

The Growl forums have moved to Google Groups, this forum is read only.
Locked
bfoz
Harmless
Posts: 4
Joined: Wed Mar 19, 2008 6:59 pm

HardwareGrowler and USB device menu?

Post by bfoz »

I was thinking about making a small app that displays a menubar icon and a dropdown list of connected USB devices, when it occurred to me that HG already knows about the comings and goings of USB devices. It would probably be easier to add an icon and menu to HG than to create a new app, but I don't know how that fits into any existing development plans. Any thoughts?
bfoz
Harmless
Posts: 4
Joined: Wed Mar 19, 2008 6:59 pm

Re: HardwareGrowler and USB device menu?

Post by bfoz »

I just realized that System Profiler is sufficient for getting a list of connected devices. However, it doesn't seem to have an interface for forcing device resets or controlling port power. It doesn't list a whole lot of device info either.
User avatar
The_Tick
Cocoaforge Admin
Posts: 4642
Joined: Thu Dec 02, 2004 6:06 am
Contact:

Re: HardwareGrowler and USB device menu?

Post by The_Tick »

That'd be kinda neat. If you can make a patch to setup a menu item, we'd probably accept it barring coding issues.
bfoz
Harmless
Posts: 4
Joined: Wed Mar 19, 2008 6:59 pm

Re: HardwareGrowler and USB device menu?

Post by bfoz »

Any tips for avoiding coding issues? HACKING.txt doesn't mention a tab size to use.
bfoz
Harmless
Posts: 4
Joined: Wed Mar 19, 2008 6:59 pm

Re: HardwareGrowler and USB device menu?

Post by bfoz »

While I'm here...anyone have a decent USB icon I can use for the menubar? So far my attempts to resize usbLogo.png have looked terrible.
User avatar
The_Tick
Cocoaforge Admin
Posts: 4642
Joined: Thu Dec 02, 2004 6:06 am
Contact:

Re: HardwareGrowler and USB device menu?

Post by The_Tick »

bfoz wrote:Any tips for avoiding coding issues? HACKING.txt doesn't mention a tab size to use.
Use tabs. People can specify different widths in their text editor if they want different sized tabs. I like 6 space tabs, others like 4 and 8 and whatnot. It's better to just stick to something that's uniform across the board.

You could look at other files within the project as well to see what they are.
Locked