Is there an app that will disallow my Win10 desktop from "sleeping" ?

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 17,034
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #11

    Bansaw,

    Try3 said:
    I don't understand why you have not set up power options that avoid sleep.

    Denis
      My Computer


  2. Posts : 43,267
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #12

    I find that using 'Don't sleep' (free) (see my post above) is just so convenient- I can leave my standard settings untouched, and just use that.

    Plus, I can set a shut down (or hibernate) time, for example.
      My Computers


  3. Posts : 190
    Windows 10, 22H2 10.0.19045
       #13

    Ask and ye shall receive . . . thank you Denis!
      My Computer


  4. Posts : 1,228
    W10-Pro 22H2
       #14

    I am going to put my hand up here (and risk embarrassment): why does the batch file have to create, and then delete, the vbs script? Why not just call the script, leaving it there after creation?
      My Computer


  5. Posts : 190
    Windows 10, 22H2 10.0.19045
       #15

    Denis - Spoke too soon. Works perfectly but this is what I get in the task bar when it's running, the cmd thing on the left.Is there an app that will disallow my Win10 desktop from "sleeping" ?-image_56.png
      My Computer


  6. Posts : 17,034
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #16

    mngerhold said:
    I am going to put my hand up here (and risk embarrassment): why does the batch file have to create, and then delete, the vbs script? Why not just call the script, leaving it there after creation?
    Martin,

    You could just create it once and then loop around just the TimeOut line.

    My normal practice is to delete any spawned vbs script after I've finished with it so that's why I did so here.

    Denis
      My Computer


  7. Posts : 17,034
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #17

    Homer712 said:
    Denis - Spoke too soon. Works perfectly but this is what I get in the task bar when it's running, the cmd thing on the left.
    The minor aspect is that you did not launch it using a shortcut to which you had assigned a specific icon.

    As to the thing appearing as an icon rather than a wide button in the Taskbar, that must be a Taskbar setting [or fault condition] but I cannot find any reference to it in Taskbar settings or TenForumsTutorials.
    - It does look familiar but I cannot put my finger on it.
    - I think it might be associated with whatever Taskbar / Windows utility you used to show that non-standard Start button. What is it?
    - I don't suppose you have used this Change Width of Taskbar Buttons - TenForumsTutorials

    Looking at the icons you have lined up on your Desktop ready for use made me wonder if you'd be better off putting them in a Taskbar Toolbar - Taskbar Toolbars - Creating and naming, customising, moving [post #20] - TenForumsTutorials

    Denis
      My Computer


  8. Posts : 190
    Windows 10, 22H2 10.0.19045
       #18

    The minor aspect is that you did not launch it using a shortcut to which you had assigned a specific icon.

    I'm including a screenshot of my desktop. I used the same icon you did for my shortcut. Possibly it's because I use Start10 for my start menu. To me it ends up less cluttered than the Win10 Start Menu. But not to worry, works just fine!

    I had at one time used a toolbar launcher but it got too full and Win10 always had a strange lag to creating all the shortcut icons when you dropped the menus down. Found a utility called Biniware Run which keeps things organized and the icons get created/refreshed instantly. Each one of those folders has at least a dozen shortcuts in it. I can go days without leaving my desktop to start/run anything. I find it very handy.

    Biniware Run

    Thanks for modifying the bat file for me. It's completely functional and I know I'll be using it often. On that "other" platform I use a little utility called "caffeine." Looks like a little coffee cup and sits up in the menu bar.

    Is there an app that will disallow my Win10 desktop from "sleeping" ?-image_57.png
      My Computer


  9. Posts : 17,034
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #19

    Homer712 said:
    I used the same icon you did for my shortcut. Possibly it's because I use Start10 for my start menu.
    So Start10 does not carry through your own icon to its Taskbar. How strange.
    Does the window name Close to allow sleep appear if you hover over it? Does the window appear?

    Homer712 said:
    I had at one time used a toolbar launcher but it got too full
    Mine has 1800 shortcuts in it and they are arranged in almost 30 folders.
    Its top level looks like that big lump in your Desktop's upper-left. It's illustrated in the link I gave you.
    I've used Taskbar toolbars for a decade
    I cannot even remember the last time I used the Start menu.
    I've never tried any alternatives such as Start10.

    Homer712 said:
    Win10 always had a strange lag to creating all the shortcut icons when you dropped the menus down.
    Mine only lags when I am in a hurry. If I'm not rushing then each subfolder opens in the blink of a drunk's eye.
    I have never figured out the reason for the lag.

    Homer712 said:
    Thanks for modifying the bat file for me. It's completely functional and I know I'll be using it often.
    I made that file because I was wondering if it would be useful. I have ended up using it at least a couple of times a day on my main computer and for an hour a day on another computer I read info off.

    As Martin noticed, it can be simplified -

    Keep display on.bat
    Code:
    :: Purpose - Stop the display blanking without changing power options
    :: Closure - Hover the cursor over its Taskbar icon and click on the X button of its popup thumbnail [or click on the Taskbar icon and click on the x control of its Control box in the top right corner of its window]
    
    @Title Close to allow sleep
    
    @set ThisVBScript="%TEMP%\KeepDisplayOn-%RANDOM%.vbs"
        @Echo Set WshShell = WScript.CreateObject("WScript.Shell") > %ThisVBScript%
        @Echo WshShell.SendKeys "{NUMLOCK}" >> %ThisVBScript%
        @Echo WshShell.SendKeys "{NUMLOCK}" >> %ThisVBScript%  
    
    :ReRunKeepDisplayOn
     @call %ThisVBScript% 
     @TimeOut /T 20 /NOBREAK >nul
    @GoTo ReRunKeepDisplayOn

    Denis
      My Computer


  10. Posts : 17,034
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #20

    Bansaw,

    Try3 said:
    I don't understand why you have not set up power options that avoid sleep.

    Denis
      My Computer


 

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

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




Windows 10 Forums