how to make application not to shut down screen?


  1. Posts : 11
    Win 7 Pro x64
       #1

    how to make application not to shut down screen?


    Hello there,

    I have this little problem. I'm playing this game in window mode with my gamepad. The problem is that this specific game with windows settings allows screen to extinguish, and gamepad isn't interpreted as mice or keyboard so with no action screen goes black.

    Is there a way to somehow tell windows to stop shutting down screen while this application is running?

    Or maybe some tricky way of making two shortcuts in one, first something to turn off screen saving, then to start the game and finally bring back screen saving to previous settings?

    Does anyone have any ideas, please?
    Last edited by exiled; 09 Mar 2011 at 07:42. Reason: solved
      My Computer


  2. Posts : 1,039
    Windows 7 Ultimate x64 Service Pack 1 (Build 6.1.7601)
       #2

    What game are you playing?
      My Computer


  3. Posts : 11
    Win 7 Pro x64
    Thread Starter
       #3

    Does it matter? It's NFS shift in window mode. It could be anything else, i just want screen saving to be auto-turned off when running this specific application.
      My Computer


  4. Posts : 13
    Windows 7 Professional x64
       #4

    You can make a batch file using powercfg to set your monitor timeout to a different value, and run it before playing the game. A second batch file resetting your monitor timeout to its original value will restore everything to the way it was before.
    It's kind of explained here:

    Power CFG Turn Monitor off - Petri.co.il forums by Daniel Petri
      My Computer


  5. Posts : 1,039
    Windows 7 Ultimate x64 Service Pack 1 (Build 6.1.7601)
       #5
      My Computer


  6. Posts : 11
    Win 7 Pro x64
    Thread Starter
       #6

    illogik said:
    You can make a batch file using powercfg to set your monitor timeout to a different value, and run it before playing the game. A second batch file resetting your monitor timeout to its original value will restore everything to the way it was before.
    It's kind of explained here:

    Power CFG Turn Monitor off - Petri.co.il forums by Daniel Petri
    Yes, powercfg is exactly what i was looking for, thanks!

    Usage of command changed a little bit, so here's my .bat file that i'm using for running my game now. Just in case someone would be interested.

    Code:
    :: first changing monitor timeout to none
    powercfg /x -monitor-timeout-ac 0
    
    :: now running game
    SHIFT.exe
    
    :: and bringing back monitor timeout setting to previous one
    powercfg /x -monitor-timeout-ac 12
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 07:35.
Find Us