summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-10-16 15:27:30 -0500
committerAlexander M Pickering <alex@cogarr.net>2024-10-16 15:27:30 -0500
commitc2bbe3f1d8cd71497f0a11a96354b1b1ba797580 (patch)
treedfff4cf64d85845cf4bb935ab80380625d636385
parent888c06e93f5cdeec6da9f67678876d28ee3cba8b (diff)
downloadlua4win-dist-lua-c2bbe3f1d8cd71497f0a11a96354b1b1ba797580.tar.gz
lua4win-dist-lua-c2bbe3f1d8cd71497f0a11a96354b1b1ba797580.tar.bz2
lua4win-dist-lua-c2bbe3f1d8cd71497f0a11a96354b1b1ba797580.zip
Turn off underlined hotkeys
-rwxr-xr-xtest10
1 files changed, 10 insertions, 0 deletions
diff --git a/test b/test
index 4eae511..50f6462 100755
--- a/test
+++ b/test
@@ -46,6 +46,13 @@ DISPLAY=:99 xdotool sleep 3
46# DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/9.png 46# DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/9.png
47# tar -czf images.tar.gz *.png 47# tar -czf images.tar.gz *.png
48 48
49# Try to turn off underlined hotkeys
50cat > no_underline.reg<< EOF
51[HKEY_CURRENT_USER\Control Panel\Accessibility\Keyboard Preference]
52"On"="0"
53EOF
54DISPLAY=:99 wine regedit no_underline.reg
55
49# What if we use keyboard shortcuts instead? 56# What if we use keyboard shortcuts instead?
50DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/1.png 57DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/1.png
51DISPLAY=:99 xdotool key --window $(DISPLAY=:99 xdotool search --sync --name "Installer") N 58DISPLAY=:99 xdotool key --window $(DISPLAY=:99 xdotool search --sync --name "Installer") N
@@ -65,4 +72,7 @@ DISPLAY=:99 xdotool sleep 3
65DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/6.png 72DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/6.png
66DISPLAY=:99 xdotool sleep 3 73DISPLAY=:99 xdotool sleep 3
67DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/7.png 74DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/7.png
75DISPLAY=:99 xdotool key --window $(DISPLAY=:99 xdotool search --sync --name "Installer") F
76DISPLAY=:99 xdotool sleep 3
77DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/8.png
68tar -czf images.tar.gz *.png 78tar -czf images.tar.gz *.png