Git Product home page Git Product logo

windowresizer's Introduction

WindowResizer

WindowResizer GitHub all releases GitHub release (latest SemVer)

WindowResizer is a simple tool that gives you a way to use hotkeys to quickly save and restore different window positions and sizes.

Download

  • Github Release

    https://github.com/caoyue/WindowResizer/releases/latest

    require:

    • Windows 7+ (x64)
    • .NET Framework 4.7.2+
  • Microsoft Store

    Get WindowResizer from Microsoft Store

    The Windows Store version has the same features as the GitHub release version.
    You can support development by purchasing it on the Windows Store.

App

hotkeys

Change hotkeys in setting window.

  • save window position

    default hotkey: ctrl+alt+s

  • save all opened window position

  • restore window position

    default hotkey: ctrl+alt+r

    demo
  • restore all opened window position

    demo

usage

  • how to add an config entry

    Focus on the window (eg. Chrome), then press the save window hotkey (ctrl+alt+sby default), an entry will be added to the configuration file.

  • How does the window matching work?

    The process name is matched first. The title is not required, by default use a wildcard * to match all the titles for a process name. And if you specify the title, it will be matched first.

  • restore window position automatically

    check the checkbox on Auto column.

    demo
  • portable mode

    • download portable package
    • put WindowResizer.config.json in the same folder as the program file WindowResizer.exe

CLI

run WindowResizer.CLI.exe resize -h

The CLI can run standalone without WindowResizer App running.

 __        __  _               _                      ____                 _
 \ \      / / (_)  _ __     __| |   ___   __      __ |  _ \    ___   ___  (_)  ____   ___   _ __
  \ \ /\ / /  | | | '_ \   / _` |  / _ \  \ \ /\ / / | |_) |  / _ \ / __| | | |_  /  / _ \ | '__|
   \ V  V /   | | | | | | | (_| | | (_) |  \ V  V /  |  _ <  |  __/ \__ \ | |  / /  |  __/ | |
    \_/\_/    |_| |_| |_|  \__,_|  \___/    \_/\_/   |_| \_\  \___| |___/ |_| /___|  \___| |_|


Usage:
  WindowResizer.CLI resize [options]

Options:
  -c, --config <config>    Config file path, use current config file if omitted.
  -P, --profile <profile>  Profile name, use current profile if omitted.
  -p, --process <process>  Process name, use foreground process if omitted.
  -t, --title <title>      Process title, all windows of the process will be resized if not specified.
  -v, --verbose            Show more details.
  -?, -h, --help           Show help and usage information

e.g.,

# Resize all
WindowResizer.CLI.exe resize

# Specify config file and profile
WindowResizer.CLI.exe resize -c "X:\WindowResizer.config.json" -P "my-profile"

# Show verbose
WindowResizer.CLI.exe resize -v

# Filter windows by process
WindowResizer.CLI.exe resize -p "notepad.exe"

# Filter windows by title regex
WindowResizer.CLI.exe resize -t ".*.txt" 

# Combine all options
WindowResizer.CLI.exe resize -c "X:\WindowResizer.config.json" -P "my-profile" -p "notepad.exe" -t ".*.txt" -v

Build

  • .NET Framework 4.7.2
  • Visual Studio 2019/2022 or JetBrains Rider
  • Projects
    • WindowResizer: the GUI app
    • WindowResizer.CLI: the CLI app

Stats

Alt

windowresizer's People

Contributors

caoyue avatar wilsonmfg avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.