Jump to content
Sign in to follow this  
LibiO

When system get back from sleep - screen is black

Recommended Posts

LibiO

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

Share this post


Link to post
Share on other sites
PsaltyDS

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.

:idea:


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

Share this post


Link to post
Share on other sites
LibiO

Keyboard/mouse work only manually. I need it for the running automation tests.

That is why I use AutoIt

Thank you

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.

:idea:

Share this post


Link to post
Share on other sites
LibiO

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.

:idea:

Keyboard/mouse work only manually. I need it for the running automation tests.

That is why I use AutoIt

Thank you

Share this post


Link to post
Share on other sites
PsaltyDS

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?

:idea:


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

Share this post


Link to post
Share on other sites
Tvern

To be honest it sounds like your videocard is just not waking from sleep properly.

Share this post


Link to post
Share on other sites
LibiO

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?

:idea:

YES

Exactly!

Share this post


Link to post
Share on other sites
LibiO

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?

Share this post


Link to post
Share on other sites
LibiO

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!

Share this post


Link to post
Share on other sites
Ascend4nt

I'm not sure what you mean by manually, but this would probably do it too:

ControlSend("[ACTIVE]","","","{ESC}")

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.