Skip to main content

Maximize window based on title, with selection of monitor

Project description

Win Maximize (Windows only)

Finds Windows window by name (or part of it, or regex) and moves to monitor specified by monitor number or to monitor where mouse cursor is placed. Window is also maximized and placed on top.

Automatically detects if found window is part of current process tree (as command line will have same text).

I'm using it when I work on multiple Sublime Text 3 projects and I want to switch between them easily without alt-tabbing. I've done that by monkey-patching GotoWindow plugin.

I've written is as replacement for https://github.com/ritchielawrence/cmdow which is excellent but antyvirus programs detects it as malware (which it is not but ...). If you do not have agressive corporate AV installed then I suggest just using it.

Installation

Install via pip: pip install win-maximize

Usage

usage: win-mazimize [-h] [-m MONITOR] [-c] [window_title [window_title ...]]

positional arguments:
  window_title

optional arguments:
  -h, --help            show this help message and exit
  -m MONITOR, --monitor MONITOR
                        Monitor number to maximize to (if you have only 1
                        monitor - pass 0)
  -c, --cursor-track    Move window to monitor where cursor is located

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for win-maximize, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size win_maximize-1.0.2-py3-none-any.whl (5.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size win-maximize-1.0.2.tar.gz (5.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page