PDA

View Full Version : need help...



Ron
October 13th, 2002, 12:55 PM
Try the question OSD. That is also a solution.

Scotchfox
October 13th, 2002, 12:55 PM
Hi Deep,

I'll give you one of the MANY ways you can do this with Girder.
ButtonMode plugin can prevent an unwanted shutdown. It will not execute poweroff if you press Power button less than x ms. Here's an example :

Timeout : 200 ms
Held action delay : 700 ms
On press : Nothing
On release : Enable the "Timed poweroff" group
While held down : Poweroff immediatly
Not held : checked

Learn the ButtonMode's eventstring with anti-repeat=0.

In the "Timed poweroff" group, you put 10 multigroups triggered with the 0-9 buttons (0 to cancel), they :
- set an AlarmTimer going to the poweroff action after the desired time. (Of course this timer must not be used by other commands before shutdown)
- disable the "Timed poweroff" group

Hope this helps.

Scotchfox
October 13th, 2002, 12:55 PM
Sorry, Deep, by "cancel" I just meant reset the timer.
Once poweroff is launched, I don't think you can stop it, because it doesn't seems to have a time-out.

deep
October 13th, 2002, 12:55 PM
OK, I have the REAL MAGIC remote, and I want to shutdown my computer in 1, 2, .. hours by pressing the power buttom of my remote then a number :
-One press of the power buttom : shutdown imediately,
-press power buttom AND a number x buttom : shutdown in x hours.

I have the program poweroff but I can't press 2 buttoms simultaneously.
I think the plugin buttommode can help me but I don't understand.
What can I do?

deep
October 13th, 2002, 12:55 PM
Thank you very much, that works!

I have just a little problem, in the programme PowerOff, I haven't seen an option to cancel the pending action.
It's not very important, but if you now how to do...

(Sorry english is not my native language and french help is not complete)