Hardware Growler Feature Requests

The Growl forums have moved to Google Groups, this forum is read only.
Locked
daschu
Harmless
Posts: 16
Joined: Mon Jul 25, 2005 5:03 am
Location: Taft, CA
Contact:

Hardware Growler Feature Requests

Post by daschu »

I've been using a copy of Hardware Growler that I compiled from SVN a few months ago and am impressed by the added features relating to my iBook's power management.

I am here to suggest that HG should be either monitor the percentage of battery remaining and alert you to the time remaining or alert you to the time remaining after a customizable interval of time.

As an amateur programmer, I understand implementing these functions could add unnecessary CPU strain. In the absence of either of those features, HW should be Apple Scriptable, in which case I could set a QuickSilver trigger to display the time remaining.

Thanks to all,
David
An Apple a day keeps Microsoft at bay.
User avatar
The_Tick
Cocoaforge Admin
Posts: 4642
Joined: Thu Dec 02, 2004 6:06 am
Contact:

Post by The_Tick »

Doesn't that add polling? I'd prefer to have hwg not poll.

I don't get how the secondary request could be very useful.
daschu
Harmless
Posts: 16
Joined: Mon Jul 25, 2005 5:03 am
Location: Taft, CA
Contact:

Post by daschu »

When I said that those features would add strain, I couldn't think of the word polling. But yes, that was my concern and I too would not like polling.

If I could just make script like:

Tell Application "HardwareGrowler"
display battery_time
end tell

Then I would use QuickSilver to make a hot key.


Sorry for my vagueness in my original post, I was in a hurry.
An Apple a day keeps Microsoft at bay.
User avatar
yelly
Crema
Posts: 292
Joined: Thu Sep 01, 2005 2:20 pm
Location: Jerusalem, Israel
Contact:

Post by yelly »

daschu wrote: If I could just make script like:

Tell Application "HardwareGrowler"
display battery_time
end tell

Then I would use QuickSilver to make a hot key.
seconded.
User avatar
nanovivid
Frappa
Posts: 137
Joined: Fri Dec 03, 2004 10:13 pm

Post by nanovivid »

If you're familiar with AppleScript, you should be able to pretty easily modify this script to use a Growl notification.

Alternately, you could apparently use Proxi and set up a Battery Monitor to fire a Growl Task.
daschu
Harmless
Posts: 16
Joined: Mon Jul 25, 2005 5:03 am
Location: Taft, CA
Contact:

Post by daschu »

The problem with the applescript that you suggested is that it doesn't tell you the time remaining.

The problem with proxi is that I can't tell it to use the a hotkey or schedule as the trigger and then supply a Growl Notification with the info from the battery monitor. Basically, each set of tasks can only have one trigger and there is no apparent way use the info from an trigger that isn't THE trigger. The only way to get the functionality I described previously, would be to use the battery monitor to monitor when the time remaining goes below a certain level. But this implies polling, which The_Tick and I earlier agreed was a bad idea.

Thank you for your input though. Proxi does have potential for other uses, so thank you for pointing this program out to me.
An Apple a day keeps Microsoft at bay.
Locked