Notification when screen saver goes active

My program needs to know when the Windows screen saver becomes active.  Is there some way to catch an OS event that indicates that the screen saver has become active?
Tony G.

Reading here, I think you can use InstallWinMsgCallback() to get the WM_SYSCOMMAND message with WParam == SC_SCREENSAVER when the scrrensaver starts.
In the page I linked there's an explanation on how to detect if screensaver is still running.
Vix
In claris non fit interpretatio
Using LV 2013 SP1 on Win 7 64bit
Using LV 8.2.1 on WinXP SP3
Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
Using CVI 6.0 on Win2k, WinXP and WinXP Embedded

Similar Messages

  • Cannot resume, when Screen Saver is active, using TrackPoint or TouchPad

    I cannot resume from Screen Saver, neither using TrackPoint, TouchPad, any UltraNav Buttons as well as an external BT mouse.
    The one and only way is using  the Ctrl+Alt+Del, to resume.
    How can I solve that issue?
    Regards,
    Harel 
    Solved!
    Go to Solution.

    Hello,
    may be it´s a problem with BOINC, if the problem won´t occur with windows screen saver.
    May be there is an option in BOINC preferences or somewhat, that can switched on, to end
    sreensaver, when using your mouse and perhaps other users of BOINC have got this problem too.
    Follow @LenovoForums on Twitter! Try the forum search, before first posting: Forum Search Option
    Please insert your type, model (not S/N) number and used OS in your posts.
    I´m a volunteer here using New X1 Carbon, ThinkPad Yoga, Yoga 11s, Yoga 13, T430s,T510, X220t, IdeaCentre B540.
    TIP: If your computer runs satisfactorily now, it may not be necessary to update the system.
     English Community       Deutsche Community       Comunidad en Español

  • Can't connect to my iMac when energy saver is active. Screensaver is okey, but if the screen is blacked out, I cant connect using vnc/teamviewer/logmein. SSH is okey. :(

    Can't connect to my iMac when energy saver is active.
    Screensaver is okey, but if the screen is blacked out, I cant connect using vnc/teamviewer/logmein. SSH is okey.
    Anyone else having this issue? Worked great in snow leopard. Updated to 10.7.1
    //Niklas

    Ok so I happened to figure it out while on the phone to apple support. Even though the guy was very nice, I think I knew more than him! He was explaining very basic resolution principles I played about. I had the second option in displays resolution. All I did was unplug the HDMI cable, click on 'best for display' then plugged the HDMI in and my resolution on the normal monitor changed to the normal blue, then went black momentarily and then changed to a strange resolution but another window appeared that said SONY BRAVIA HDMI at the top! Hey presto! Don't know why it didn't do it yesterday - I probably left the HDMI cable in or something! Oh well. Problem solved!

  • Activate application when screen saver active or display asleep

    I cannot activate an application when the screen saver is active nor when the display is asleep.
    Neither
    tell application "Safari" to activate
    nor
    do shell script "open -a Safari"
    work or log errors when run as part of a GUI script.
    Does anyone know the reason or a workaround?

    I also tried
    tell application "System Events" to tell process "Safari" to set frontmost to true
    to no avail. I'm out of ideas, for now.
    So, GUI scripting doesn't work if you schedule a script to run without the application being frontmost when the screen saver executes or the display sleeps?

  • HT200112 how do u get rid of airplay box set up on apple tv when screen saver is  on

    How do u remove airplay set up box when screen saver is on when watching apple tv ?

    I just found an answer to my question yea
    go to settings on your apple tv...airplay...turn conference off.. & it works!!

  • DVD player doesn't work after screen saver goes on

    Hello,
    On a Mac Pro Intel Quad with Os x ver 10.5.8 my DVD player will not eject or play after the screen saver goes on. This started happening after a recent software update.
    Has anyone experienced this or does anyone know how to solve?
    Thank you.

    HI Michael,
    Delete this file.
    com.apple.DVDPlayer.plist
    ~/Library/Preferences. Move that file to the Trash and restart your Mac.
    Carolyn

  • My screen saver goes to black after a few minutes of running...any idea why?

    I've got a brand new macbook pro. I just did the set up of the screensaver which draws from a pictures folder.  The screensaver starts like it is supposed to but after a very brief time of running the screen just goes to black...no more screen saver.  Any suggestions for what I have set wrong or what I need to change?
    Also, when I'm loading a batch of pictures to my machine from my memory card is there a way to go through them and easily delete the ones I want to trash in a large screen (ie in preview or iphoto?)  I don' see a delete button of any kind.  For example in Micorsoft Office picture manager there's an 'x' and if you want to dump the picture while you are previewing them all/editing you can do it right from that screen.
    Thanks in advance for any helpful suggestions!!  I'm a newbie to Macs (20 year PC user) and a little lost at the learning curve!

    From the menu bar, select  ▹ System Preferences ▹ Energy Saver. Set the Display sleep slider to an interval longer than the interval at which the screensaver starts. For example, if the screensaver starts after 10 minutes, set the display to sleep after 20 minutes. You'll then get 10 minutes of the screensaver, followed by a blank screen. You can set the slider to Never, if you like, but that will waste a lot of energy over the life of the machine.

  • IChat signs off when screen saver comes on

    If I ever leave my computer for the 10 minutes or so that it takes for the screen saver to come on, I'm kicked offline. When I get back to the regular screen it automatically signs me back on, but I want to stay online the entire time, not sign off and sign back on. Even if I change my screen saver settings to a longer period of time before it comes on, my computer still goes into some energy saving mode after only a few minutes, kicking me offline.
    Is there a way to prevent this?

    My Screen saver on my XP (BootCamp) nor my MacBook Pro in OS 10.5.1 do not do this.
    I see nothing in Screen Savers or Energy Saver that would cause this.
    It is almost like your computer is thinking it is Asleep whilst still displaying the Screen Saver. (Macs always cut Network connections on Sleep)
    8:18 PM Friday; November 30, 2007

  • Applications quit when screen saver is running

    Hi Forum Members - Recently, I have to reformat and reinstall my entire PowerBook drive using Tiger 10.4.4 and experiencing that applications quit each time when the screen saver is being activated. This was not the case previously. I scanned through each functions within System Preference and could not find how I can preserve opened applications upon returning from sleep mode. I reckon that I am missing something but not able to identify what needs to be set correctly. I certainly need your expert tips to resolve this annoyance. Thanks in advance.

    I have begun to experience the same problem on an iMac G5 running 10.4.5. About 50% of the time all applications will have quit upon returning from sleep mode. This computer was recently purchased and the files from a PowerMac Quicksilver G4 were transferred to it. This problem has not appeared on the Quicksilver.
    iMac G5   Mac OS X (10.4.5)  

  • Imac G4 15" Screen Stays Black After Screen Saver Goes To Sleep

    I have an imac G4 15" that I just got from a friend that works pretty well, except that after it goes from the screen saver into to sleep mode, the screen stays black. I can hear the error chimes when I try to awaken the screen with the keys, but the screen just stays black. I have tried to increase the brightness, etc. but to no avail. Eventually I have to resort to re-booting and I am afraid that at some point, either the computer won't reboot or one of my external hard drives will crash. Any advice from someone who has experience with this issue would be greatly appreciated.
    THANKS!

    Hello and Welcome to Apple Discussions. 
    Have a look at this user tip:
    http://discussions.apple.com/thread.jspa?messageID=4349704
    cheers
    mrtotes

  • Crashing when screen saver launches

    I'm getting random crashes when my system launches screen saver. Symptoms are the screen becomes very grainy, sometimes with scrolling horizontal lines, and the clock also freezes with the time of the crash.
    This started right after going to 10.5.8. I re-ran the updater (combo) and the problem stopped for a couple of weeks but started again today.
    I deleted Desktop preferences, but that didn't help.
    Ideas, anyone?

    Has anyone found the answer to this problem? I have installed and uninstalled flash player several times but whenever it instals my sytems preferences die, which is very frustrating. I receive the same message as Lazula.

  • CPU overloading when screen saver is on

    Recently I've been noticing that whenever the screen saver starts the fan quickly starts working full power, and when I come out of sleep I can see in the activity monitor the cpu usage dropping from almost %100. (There's no cpu intensive process running normally on my Mac).
    Not only does the fan noise disturb and presumably shortens the lifespan of my MacBook, but I am worried that some spyware is running when it thinks no one would notice...
    So,
    1. How can I identify the culprit? (e.g. record which process was leeching the cpu during screensaver)
    2. Is there any way I can enforce a general limit on cpu usage when the Mac is idle?
    Thanks!!

    Use Activity Monitor (Utilities folder.) You might consider not using the particular screen saver. If it's a third-party screen saver it may simply be defective.

  • Laptop freezing when screen saver

    Hi and thanks in advance for your time.
    My laptop is freezing soon after the screen saver starts. In short, the sxreen saver continues but the mouse doesn't respond. I have no option but to force it to turn off using the turn on/off bottom.
    I ran techtool pro and fixed permissions and rebuilt. Did not run disk warrior yet, waiting for update to arrive...
    Any ideas, any advise, thanks

    If it's one of Apple's preinstalled or a 3rd party screensaver, check to see if there is a plist file inside the ~/Library/Preferences folder and trash it. Restart your computer.
    Boot from your install disc & run *Repair Disk* from the utility menu. To use the Install Mac OS X disc, insert the disc, and restart your computer while holding down the C key as it starts up.
    Select your language.
    Once on the desktop, select Utility in the menu bar.
    Select Disk Utility.
    Select the disk or volume in the list of disks and volumes, and then click First Aid.
    Click Repair Disk.
    Restart your computer when done.
    Repair permissions after you reach the desktop-http://docs.info.apple.com/article.html?artnum=25751

  • Monitor flickers when screen saver runs

    I have a two monitor setup.  I just put in a replacement video card which has one ADC port and one DVI port.  The monitor on the ADC port flickers when the screen saver runs.  But it doesn't seem to flicker at any other time.  The monitor on the DVI port has no problems. 
    I wonder if there's anything I can do to get rid of the flicker.  Could it be the card, which otherwise seems to work fine?  Or could it be a memory problems?
    Any thoughts appreciated!

    I wonder if it is the screen saver. Some really put the 3D graphics hardware to task. Have you tried switching to a screensaver that doesn't demand serious hardware acceleration like "Computer Name" or one of the "canned" savers that display picts like Cosmos, Beach, Paper Shadows, etc?
    I keep two different types of temp monitoring on my Macs so see what programs task the system, One is software and the other is a direct-read remote thermometer (remote sensor tucked in the exhaust port of my Intel iMac). When I run the 3D savers, I can see the temps start to go up.

  • System Preferences crashing when Screen Saver window opens

    I have been having a bit of a problem for some time now (a couple weeks).
    One day, I noticed my screensaver was gone, and it turned into just the name of my hard drive and the Apple symbol moving periodically on a black background. So, I tried to open the screen saver options to change it, but when I open the Screen Saver tab, the list shows up briefly with nothing on it, then it crashes. I get this error message:
    The application System Preferences quit unexpectedly. The problem may have been caused by the FlashPlayer- 10.4-10.5 plug-in.
    I have re-installed Flash, but it hasn't helped. Any help on this issue would be outstanding! Thanks

    Has anyone found the answer to this problem? I have installed and uninstalled flash player several times but whenever it instals my sytems preferences die, which is very frustrating. I receive the same message as Lazula.

Maybe you are looking for