Add a new mappable action nth_os_window to focus OS window

This commit is contained in:
pagedown
2021-12-04 20:45:01 +08:00
parent 0456399ce5
commit 1f3d86a434
3 changed files with 11 additions and 1 deletions

View File

@@ -250,7 +250,7 @@ def remote_control(func: str, rest: str) -> FuncArgsType:
return func, args
@func_with_args('nth_window', 'scroll_to_prompt', 'visual_window_select_action_trigger')
@func_with_args('nth_os_window', 'nth_window', 'scroll_to_prompt', 'visual_window_select_action_trigger')
def single_integer_arg(func: str, rest: str) -> FuncArgsType:
try:
num = int(rest)