From 2ac30fb459343323bdf58f3ebb05948a401b0b7c Mon Sep 17 00:00:00 2001 From: toni Date: Mon, 14 Mar 2016 16:49:06 +0100 Subject: auto type text in specified x11 windows --- run-all-x11.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 run-all-x11.sh (limited to 'run-all-x11.sh') diff --git a/run-all-x11.sh b/run-all-x11.sh new file mode 100755 index 0000000..b91936c --- /dev/null +++ b/run-all-x11.sh @@ -0,0 +1,7 @@ +#!/bin/bash + + +for wid in $(xdotool search --onlyvisible --sync --all --class X-terminal-emulator) + do xdotool type --window $wid "$*" + xdotool key --window $wid KP_Enter +done -- cgit v1.2.3