From 9d6d52a9f2e28839f4886f0ca8855b1865d75748 Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Tue, 15 Oct 2024 12:46:08 -0500 Subject: One more click --- test | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test b/test index b5f41f3..257c109 100755 --- a/test +++ b/test @@ -23,7 +23,6 @@ DISPLAY=:99 xdotool click 1 DISPLAY=:99 xdotool sleep 1 DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/3.png # Click next -DISPLAY=:99 xdotool sleep 1 DISPLAY=:99 xdotool mousemove --window "$(DISPLAY=:99 xdotool search --sync --name "Installer")" --sync 350 337 DISPLAY=:99 xdotool sleep 1 DISPLAY=:99 xdotool click 1 @@ -34,6 +33,13 @@ DISPLAY=:99 xdotool mousemove --window "$(DISPLAY=:99 xdotool search --sync --na DISPLAY=:99 xdotool sleep 1 DISPLAY=:99 xdotool click 1 DISPLAY=:99 xdotool sleep 1 -DISPLAY=:99 xdotool sleep 5 DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/5.png +# Click install +DISPLAY=:99 xdotool mousemove --window "$(DISPLAY=:99 xdotool search --sync --name "Installer")" --sync 335 335 +DISPLAY=:99 xdotool sleep 1 +DISPLAY=:99 xdotool click 1 +DISPLAY=:99 xdotool sleep 1 +DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/6.png +DISPLAY=:99 xdotool sleep 5 +DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/7.png tar -czf images.tar.gz *.png -- cgit v1.2.3-55-g6feb