diff --git a/snippets/ib_data_reset.py b/snippets/ib_data_reset.py index d2a5c63d..a65321dc 100644 --- a/snippets/ib_data_reset.py +++ b/snippets/ib_data_reset.py @@ -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([