LibiO Posted May 8, 2010 Share Posted May 8, 2010 When system get back from SLEEP(on WIN7, VISTA from SLEEP; on XP from STAND BY) - screen is black.I need a command on AutoIt that makes the screen back to be normal, meaning - not black.Turn off -> turn on the display does't help here: after turn on the screen - display is back, but still black.Any action with a mouse (like click, moving a mouse and more) doesn't help - the screen is still black.What command can make the screen return to be normal (not black)?Thank you Link to comment Share on other sites More sharing options...
PsaltyDS Posted May 8, 2010 Share Posted May 8, 2010 Doesn't sound like an AutoIt support question. If you can't do it from keyboard/mouse directly, then something is broken. Time for some malware scans, to start with. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
LibiO Posted May 9, 2010 Author Share Posted May 9, 2010 Keyboard/mouse work only manually. I need it for the running automation tests.That is why I use AutoItThank youDoesn't sound like an AutoIt support question. If you can't do it from keyboard/mouse directly, then something is broken. Time for some malware scans, to start with. Link to comment Share on other sites More sharing options...
LibiO Posted May 9, 2010 Author Share Posted May 9, 2010 Doesn't sound like an AutoIt support question. If you can't do it from keyboard/mouse directly, then something is broken. Time for some malware scans, to start with.Keyboard/mouse work only manually. I need it for the running automation tests.That is why I use AutoItThank you Link to comment Share on other sites More sharing options...
PsaltyDS Posted May 10, 2010 Share Posted May 10, 2010 So you wake up the computer from sleep/hibernate mode and there is a blank screen-saver active, then you want an AutoIt action to clear the screen saver? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Tvern Posted May 10, 2010 Share Posted May 10, 2010 To be honest it sounds like your videocard is just not waking from sleep properly. Link to comment Share on other sites More sharing options...
LibiO Posted May 23, 2010 Author Share Posted May 23, 2010 So you wake up the computer from sleep/hibernate mode and there is a blank screen-saver active, then you want an AutoIt action to clear the screen saver?YESExactly! Link to comment Share on other sites More sharing options...
LibiO Posted May 24, 2010 Author Share Posted May 24, 2010 To be honest it sounds like your videocard is just not waking from sleep properly.All computers (tested about 20) behaviors like that. So how can I cause videocard wake from sleep properly? Link to comment Share on other sites More sharing options...
evilertoaster Posted May 24, 2010 Share Posted May 24, 2010 Any mouse movement or keyboard action will clear a screen saver: MouseMove(0,0) MouseMove(1,1) Link to comment Share on other sites More sharing options...
LibiO Posted September 29, 2010 Author Share Posted September 29, 2010 Any mouse movement or keyboard action will clear a screen saver: MouseMove(0,0) MouseMove(1,1) This is right! Any mouse movement or keyboard action will clear a screen saver, but MANUALLY! I tried all mouse commands by AutoIt - nothing clears a screen saver - it stays black! What else can I try? Thanks! Link to comment Share on other sites More sharing options...
Ascend4nt Posted September 29, 2010 Share Posted September 29, 2010 I'm not sure what you mean by manually, but this would probably do it too: ControlSend("[ACTIVE]","","","{ESC}") My contributions: Performance Counters in Windows - Measure CPU, Disk, Network etc Performance | Network Interface Info, Statistics, and Traffic | CPU Multi-Processor Usage w/o Performance Counters | Disk and Device Read/Write Statistics | Atom Table Functions | Process, Thread, & DLL Functions UDFs | Process CPU Usage Trackers | PE File Overlay Extraction | A3X Script Extract | File + Process Imports/Exports Information | Windows Desktop Dimmer Shade | Spotlight + Focus GUI - Highlight and Dim for Eyestrain Relief | CrossHairs (FullScreen) | Rubber-Band Boxes using GUI's (_GUIBox) | GUI Fun! | IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) | Magnifier (Vista+) Functions UDF | _DLLStructDisplay (Debug!) | _EnumChildWindows (controls etc) | _FileFindEx | _ClipGetHTML | _ClipPutHTML + ClipPutHyperlink | _FileGetShortcutEx | _FilePropertiesDialog | I/O Port Functions | File(s) Drag & Drop | _RunWithReducedPrivileges | _ShellExecuteWithReducedPrivileges | _WinAPI_GetSystemInfo | dotNETGetVersions | Drive(s) Power Status | _WinGetDesktopHandle | _StringParseParameters | Screensaver, Sleep, Desktop Lock Disable | Full-Screen Crash Recovery Wrappers/Modifications of others' contributions: _DOSWildcardsToPCRegEx (original code: RobSaunder's) | WinGetAltTabWinList (original: Authenticity) UDF's added support/programming to: _ExplorerWinGetSelectedItems | MIDIEx UDF (original code: eynstyne) (All personal code/wrappers centrally located at Ascend4nt's AutoIT Code) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now