Skip to content

ruzrobert/ShowDesktopOneMonitor

Repository files navigation

ShowDesktopOneMonitor

Description

Adds abillity to Show Desktop (Win + D) only for One Monitor! Works exactly like Win + D does plus additional features:

  • Shows desktop (minimizes all windows)
  • Restores windows to their previous states
  • Minimizes all windows if user changed state of any window or one of the windows opened / closed (exactly how Win + D works)

Plus:

  • Minimizes/Restores only windows on specific monitor, remembering their states

Installation

  1. Download and extract archive somewhere
    See Releases section: https://github.com/ruzrobert/ShowDesktopOneMonitor/releases
  2. Create task in Task Scheduler:
  • Specify path to ShowDesktopOneMonitor.exe
  • Trigger: Run only when user is logged on
  • Check Run with highest priveleges
  • On Settings tab make sure that task will not be stopped after running longer than some days, for example.
    Note: program has icon in tray, but unfortunatelly it is invisible, if app is started from Task Scheduler :(

Usage

Press key combination: Left Windows Key + Left Shift + D to minimize/restore windows on monitor where cursor is currently on.

Credits

In core of the project is @FrigoCoder's code: https://github.com/FrigoCoder/FrigoTab
His code allows to get list of windows exactly like Alt + Tab does, what was excellent for my task.

License

Copyright (c) 2019 Robert Ruzin. Licensed under the GPL-3.0 license.