Repeat the click 3 times

misc_ib_updates
Tyler Goodlet 2021-10-22 12:07:04 -04:00
parent c828261740
commit 0bcaeda784
1 changed files with 5 additions and 3 deletions

View File

@ -53,14 +53,16 @@ for name in win_names:
# move mouse to bottom left of window (where there should
# be nothing to click).
'mousemove_relative', '--sync', str(w-3), str(h-3),
'mousemove_relative', '--sync', str(w-4), str(h-4),
# NOTE: we may need to stick a `--retry 3` in here..
'click', '--window', win_id, '1',
'click', '--window', win_id, '--repeat', '3', '1',
# hackzorzes
'key', 'ctrl+alt+f',
])
],
timeout=1,
)
# re-activate and focus original window
subprocess.call([