Skip to content
/ wcsharp Public

A suite of tools providing window management capabilities.

Notifications You must be signed in to change notification settings

GZJ/wcsharp

Repository files navigation

Wcsharp

Suite of Window Control Tools for Windows (for Windows 10).

This suite provides a set of programs to control window behavior on Windows. Each program targets a specific window management function to enhance user productivity and window management experience.

  • wcs-exit.cs: Exit the window.
  • wcs-focus.cs: Focus the window.
  • wcs-hide-altab.cs: Hide a window from the taskbar and Alt-Tab/Win+Tab shortcuts.
  • wcs-show-altab.cs: Show a window in the taskbar and with Alt-Tab/Win+Tab shortcuts.
  • wcs-hide-vis.cs: Hide window visibility.
  • wcs-show-vis.cs: Show window visibility.
  • wcs-max.cs: Maximize the window.
  • wcs-min.cs: Minimize the window.
  • wcs-restore.cs: Restore a minimized or maximized window.
  • wcs-move.cs: Move the window.
  • wcs-move-resize.cs: Move and resize the window.
  • wcs-resize.cs: Resize the window.
  • wcs-tray.cs: Trigger window show/hide using the system tray icon and hotkeys.

Build

To build these programs, you will need to use Visual Studio Build Tools. Below are the steps to compile the programs using csc (C# compiler):

  1. Install Visual Studio Build Tools:

  2. Open a Developer Command Prompt(Launch-VsDevShell.ps1):

    • Open the Developer Command Prompt for Visual Studio from the Start Menu.
  3. Navigate to the directory containing the programs:

git clone https://github.com/GZJ/wcsharp.git
cd wcsharp
./build.ps1

Usage

wcs-min.exe [window title/handle]
wcs-max.exe [window title/handle]

#or

wcs-hide.exe [window title/handle]
wcs-tray.exe [window title/handle] "ctrl+alt+e"
wcs-tray.exe "[window title/handle],[window title2/handle2],[window title3/handle3],..." "ctrl+alt+e"

About

A suite of tools providing window management capabilities.

Resources

Stars

Watchers

Forks

Packages

No packages published