Fork of github.com/shu-go/vvin
Find a file
2019-11-22 15:31:42 +09:00
.circleci change: CircleCI image 2019-11-22 15:31:42 +09:00
cmd_alpha.go refactor: rename to private 2019-11-18 18:42:38 +09:00
cmd_minmax.go refactor: rename to private 2019-11-18 18:42:38 +09:00
cmd_resize.go refactor: rename to private 2019-11-18 18:42:38 +09:00
cmd_topmost.go refactor: rename to private 2019-11-18 18:42:38 +09:00
cmd_wait.go fix: intervals -> interval 2019-11-18 17:33:27 +09:00
go.mod initial commit 2019-11-09 15:26:01 +09:00
go.sum add: alpha command 2019-11-10 09:48:51 +09:00
LICENSE add: LICENSE 2019-11-10 12:15:44 +09:00
README.md add: section for wait command in README 2019-11-18 14:55:57 +09:00
vvin.go refactor: if-return-else-return to if-return and return 2019-11-18 18:45:06 +09:00

keep waking Windows up

Go Report Card MIT License

Usage

Sub commands:
  minimize, min     minimize/restore
  maximize, max     maximize/restore
  resize, move, mv  resize/move
  alpha             set alpha 0%(transparent) - 100%(opaque)
  topmost           set always on top/restore
  wait              wait for a window is opened/closed ([--close] {Title})

Options:
  -t, --target WINDOW_TITLE  default to current window

minimize/restore

> ./vvin -t Notepad min

> ./vvin -t Notepad min --restore
> ./vvin -t Notepad min -r

resize

> ./vvin -t notepad resize -x 0 -y 0 -w 60% -h 100%

alpha

> ./vvin -t notepad alpha 75%

always on top

> ./vvin -t notepad topmost

> ./vvin -t notepad topmost --restore
> ./vvin -t notepad topmost -r

wait

wait for a window to appear

> ./vvin wait notepad

wait closed

> ./vvin wait notepad --closed