stric: good job. Are you taking requests for other plugins? I have a few simple ones in mind.
Hi, here is an Auto Volume on startup plugin.
It puts volume to preset value on startup. Handy in sleepy mornings![]()
stric: good job. Are you taking requests for other plugins? I have a few simple ones in mind.
2002 Honda CR-V
Carputer progress: 90% [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -]
Spent so far: $1105.90
Download the NEXUS Skin for Centrafuse
...or even Listen to my music
You can tell, but first I must work on Calendar, and maybe scientific version of Calc(not soon). And I have a lot of work for school right now, so...
Would you be willing to take on a slightly larger project? I would provide a ton of help with skins, images, layout, design...
This one: Plug-in request: Vehicle Maintenance (for the gifted coders out there)
2002 Honda CR-V
Carputer progress: 90% [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -]
Spent so far: $1105.90
Download the NEXUS Skin for Centrafuse
...or even Listen to my music
Does this work on resume from hibernate too?
If so I'll have to get this to solve the full volume on startup issue I've been having
Hmm, I am not sure cause I am not using hibernate, but I don't think it will work. If you try let me know.
This could easily be added to this plugin quickly... You can add an on/off button in settings that says whether to apply on resume from hibernation...
Then there is an easy event for you to add to the plugin that lets you know when Centrafuse is resuming were you can place the exact code you run when the plugin starts...
david
__________________
CENTRAFUSE http://www.centrafuse.com
01 Jeep Cherokee Sport 4x4 Installed
M10000/512Mb/20GB, Lilliput 7", Holux GM-210
David, could you tell me what is called when system is resuming? Or at least give me some directions. (I couldn't find anything useable in SDK help)
It's just one of the CF Events...
Place this in CF_pluginInit():
this.CF_Event_powerModeChanged += new Microsoft.Win32.PowerModeChangedEventHandler(obdii _CF_Event_powerModeChanged);
Then put this function somewhere:
private void volume_CF_Event_powerModeChanged(object sender, Microsoft.Win32.PowerModeChangedEventArgs e)
{
if(e.Mode == Microsoft.Win32.PowerModes.Resume)
{
//run code to adjust volume here
}
}
There are other members of that enumeration such as PowerModes.Standby, etc... So you can do things when it is going down or coming back up...
david
__________________
CENTRAFUSE http://www.centrafuse.com
01 Jeep Cherokee Sport 4x4 Installed
M10000/512Mb/20GB, Lilliput 7", Holux GM-210
Thanks David.
On the link in first post should be new version which has option for setting volume on resume. I think it should work on resuming from Stand by and Hibernate. I have some problems with setting my machine to Standby, so let me know if it is not working.
stric
Bookmarks