View Full Version : SleepTimer for Winamp (or any app)

March 12th, 2006, 05:44 PM

What I want to do is a SleepTimer function.

My idea is that when I press a button the timer set to for example to 10min, if I press it again, set it to 20, and so go on. And everytime I press that button an OSD should appear saying "Sleeps in 10 minutes".

My problem is that I don't know how to print in OSD the TimerID of AlarmTimer... It isn't in any variable, isn't it?

And how to make that when I press the button again, increase 10 min?

Thanks =)

PD: Sorry if my english isn't quite good.

March 12th, 2006, 06:32 PM
you probably need to use the lua extensions by Mark F to do this...

this will be much easier in G4

March 19th, 2006, 01:19 PM
Take a look at YAST (Yet Another Sleep Timer) (http://www.promixis.com/phpBB2/viewtopic.php?t=5225)

Easy to setup, and works great.