Hi there,
i noticed a bug involving the APM-Command-Line Command. I use it to change the Energy Settings of my Samsung 2.5" Hard-Drive as followings:
"D:\Users\Jinja\Desktop\HDDScan-3.3\HDDScan.exe" "\\?\ide#disksamsung_hm500ji_________________________2ac101c4#5&2abbc0c&0&0.0.0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}" -APM 254
Before:
After: 

Currently i am using a workaround but this is annyoing:
Executing Batch-File as:"D:\Users\Jinja\Desktop\HDDScan-3.3\HDDScan.exe" "\\?\ide#disksamsung_hm500ji_________________________2ac101c4#5&2abbc0c&0&0.0.0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}" -APM 254
ChangeTheme.vbs
Where the ChangeTheme.vbs is the followings:Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "rundll32.exe %SystemRoot%\system32\shell32.dll,Control_RunDLL %SystemRoot%\system32\desk.cpl desk,@Themes /Action:OpenTheme /file:""C:\Windows\Resources\Themes\aero.theme"""
Wscript.Sleep 3000
WshShell.AppActivate("Desktop Properties")
WshShell.Sendkeys "%FC"
WshShell.Sendkeys "{F4}"
This Proccedure opens the Windows Theme Settings after running the APM Command an changes the Theme back. Would be really nice if this could be fixed.
BTW: Is there a way to run the APM-Command after every login or login after screensaver? As launching the Screensaver (thus locking the desk) seems to somehow break the APM-Command.
cimba007
EDIT:
Using Windows 7 Professional
Using HDDScan 3.3