wmctrl-for-windows/README.md

35 lines
1.2 KiB
Markdown
Raw Permalink Normal View History

2016-01-14 04:06:12 +08:00
# wmctrl-for-windows
2020-01-08 13:56:50 +08:00
This is a fork of https://github.com/ebranlard/wmctrl-for-windows with two new flags added for PID and process title :D
2016-01-15 17:01:50 +08:00
Command line implementation of wmctrl for windows (pseudo-equivalent).
Only few features of the linux tool wmctrl are implemented so far, that is:
- List the window titles, process name and ID
2020-01-08 13:56:50 +08:00
- Switch the focus to a given window (Based on process title, process name or PID)
2016-01-15 17:01:50 +08:00
The program is written in C-sharp.
2017-06-17 17:42:45 +08:00
This repository contains the latest binary and the source code (compatible Mono or Microsoft).
## Binaries
2020-01-08 13:56:50 +08:00
You can get the binaries from the releases tab of this repo
2016-01-15 17:01:50 +08:00
## Features/ usage
usage: wmctrl [options] [args]
options:
2020-01-08 13:56:50 +08:00
-h : show this help
-l : list windows
-a <PNAME> : switch to the window of the process name <PNAME>
-b <PTITLE> : switch to the window of the process title <PTITLE>
-p <PID> : switch to the window of the process ID <PID>
2016-01-15 17:01:50 +08:00
2017-06-17 17:42:45 +08:00
## Compilation
Compile (using Mono or Miscrosoft Visual Studio tools).
You can use the Makefile provided in this repository.
(You need csc.exe or mcs.exe in your system path)
2016-01-15 17:01:50 +08:00
## Installation
Put the exe file somewhere in your system path.