hey guys,
I have written a script that will do certain things on automatic resume, such as stop some services etc... but i dont want it to do these things if i resume manually. I have wrote the script in vbs and used the win32_PowerManagementEvent thingy to watch for automatic resume message etc... However it seems my pc sends the automatic resume message if i resume manually as well as sending the manual resume message which means my script always runs on any resume which sucks. Anyone know a way to have a program or script run on automatic resume only? The script runs a batch file so any way of running it on automatic resume only would be great... or any ideas...thanks...