DI minimizes active windows

Forums Desktop Info DI minimizes active windows

This topic contains 2 replies, has 2 voices, and was last updated by Avatar ntech2 2 months, 3 weeks ago.

  • Author
    Posts
  • #1478 Reply
    Avatar
    ntech2
    Participant

    Hello,
    Running DI as scheduled background task.

    When it is executed e.g. the exe is run via the task, some, but not all active windows are being minimized automatically. Is there a way to disable this?

    Thanks!

    1+
  • #1479 Reply
    Glenn
    Glenn
    Keymaster

    It sounds like it’s being executed while it is already running. This is normal behaviour when DTI detects it is already running. I propose your scheduled task runs a batch file something like the following:

    @echo off
    tasklist|find "DesktopInfo.exe" > NUL
    if %ERRORLEVEL% == 0 ( 
        echo Already running
        goto :end
    ) else ( 
         echo Starting Desktop Info
         start C:\DesktopInfo\DesktopInfo.exe
    )
    :end
    
    1+
  • #1510 Reply
    Avatar
    ntech2
    Participant

    Thanks, you are right. I tested it and if it’s not already running, nothing gets minimized.

    Thank you!

    1+
Reply To: DI minimizes active windows
Your information:




Do NOT follow this link or you will be banned from the site!