View previous topic :: View next topic |
Author |
Message |
CodeScript Moderator Team
Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Thu Sep 11, 2003 7:01 pm Post subject: Suspend_Hibernate DSU |
|
|
Suspend_Hibernate DSU
================
This is a small DSU - Reusable unit for VDS developers which adds
two new power management commands to:
1.Suspend (standby) your system.
2.Hibernate your system (If supported)
Download:
http://codescript.vdsworld.com/VDS5src/Hibernate.zip
How to use:
===========
Include the DSU in your project as:
#Include suspend.dsu
This will add a single new command to VDS vocabulary:
SetSuspendState <Suspend/Hibernate>,{<Force>},{<DisableWakeEvent>}
Parameters:
===========
Suspend/Hibernate - Select one of them.
Force - Optional. If you specify forces the event irrrespective of
any app being ready or Not. Don't use {} they just indicate
that the parameter is optional.
DisableWakeEvent - Optional. If you specify then disables all wake
up events including keyboard,mouse etc. Make sure
that your computer power button is working properly
before you set this. The disabling process may take
a few seconds. _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
Back to top |
|
|
FreezingFire Admin Team
Joined: 23 Jun 2002 Posts: 3508
|
Posted: Thu Sep 11, 2003 8:52 pm Post subject: |
|
|
Nice, nice, nice!
Now all we need for VDS is a lock command for NT systems. _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
Back to top |
|
|
FreezingFire Admin Team
Joined: 23 Jun 2002 Posts: 3508
|
Posted: Thu Sep 11, 2003 8:54 pm Post subject: |
|
|
Just a note in case you didn't know, "suspend.dsu.src.zip" has nothing in it, file size
0 bytes. _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
Back to top |
|
|
CodeScript Moderator Team
Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Fri Sep 12, 2003 2:49 am Post subject: |
|
|
Even I don't have a backup. Any way it is a single command so I don't know if it is a problem. I will rewrite it sometime later if there is some bug in it etc. - Unlikely.
Has anyone tried it on Win ME ?
On win 98SE hibernate anyway won't work on all systems. _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
Back to top |
|
|
CodeScript Moderator Team
Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Tue Oct 14, 2003 2:48 am Post subject: |
|
|
FreezingFire wrote: | Now all we need for VDS is a lock command for NT systems. |
Added a command to lock NT systems !!!
Another DSU in the package retrieves power status of the system, whether on AC line, if on battery what percentage of battery power is remaining, Is the battery power status critical - If so Hibernate (you have to use hibernate DSU). Of course this second DSU needs a compatible hardware.
Download: v 1.3
http://www.vdsworld.com/index.php?page=download&fileid=340 _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
Back to top |
|
|
FreezingFire Admin Team
Joined: 23 Jun 2002 Posts: 3508
|
Posted: Tue Oct 14, 2003 7:00 pm Post subject: |
|
|
CodeScript wrote: | FreezingFire wrote: | Now all we need for VDS is a lock command for NT systems. |
Added a command to lock NT systems !!!
Another DSU in the package retrieves power status of the system, whether on AC line, if on battery what percentage of battery power is remaining, Is the battery power status critical - If so Hibernate (you have to use hibernate DSU). Of course this second DSU needs a compatible hardware.
Download: v 1.3
http://www.vdsworld.com/index.php?page=download&fileid=340 |
_________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
Back to top |
|
|
|