From b1412d9d67919698b0de3945ca86df0e034d0906 Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Tue, 15 Oct 2024 13:07:39 -0500 Subject: try clicking twice for license --- test | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test b/test index 33c8da8..e6dbf7a 100755 --- a/test +++ b/test @@ -14,8 +14,8 @@ DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/1.png DISPLAY=:99 xdotool mousemove --window "$(DISPLAY=:99 xdotool search --sync --name "Installer")" --sync 346 334 DISPLAY=:99 xdotool sleep 1 DISPLAY=:99 xdotool click 1 -DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/2.png DISPLAY=:99 xdotool sleep 1 +DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/2.png # Click agree to liscense DISPLAY=:99 xdotool mousemove --window "$(DISPLAY=:99 xdotool search --sync --name "Installer")" --sync 34 286 DISPLAY=:99 xdotool sleep 1 @@ -27,6 +27,8 @@ 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 click 1 +DISPLAY=:99 xdotool sleep 1 DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/4.png # Click next (Accept default install location) DISPLAY=:99 xdotool mousemove --window "$(DISPLAY=:99 xdotool search --sync --name "Installer")" --sync 350 337 -- cgit v1.2.3-55-g6feb