S or /

voice_control / mouse.talon

1# Mouse2click and hold mouse | press and hold mouse:3    # help: Left click and hold the mouse button down4    mouse_drag()5<modifiers> click and hold mouse:6    # help: Left click and hold the mouse button down while pressing the modifier keys7    key("{modifiers}:down")8    mouse_drag()9    key("{modifiers}:up")10release mouse | release hold:11    # help: Stop holding the mouse button down12    mouse_release()13single click [mouse] | click mouse | press mouse | mouse click:14    # help: Left click15    mouse_click()16<modifiers> [mouse] click:17    # help: Left click while pressing the modifier keys18    key("{modifiers}:down")19    mouse_click()20    key("{modifiers}:up")21double click [mouse] | mouse double click:22    # help: Double click23    mouse_click()24    mouse_click()25<modifiers> [mouse] double click:26    # help: Double click while pressing the modifier keys27    key("{modifiers}:down")28    mouse_click()29    mouse_click()30    key("{modifiers}:up")31triple click [mouse] | mouse triple click:32    # help: Triple click33    mouse_click()34    mouse_click()35    mouse_click()36<modifiers> [mouse] triple click:37    # help: Triple click while pressing the modifier keys38    key("{modifiers}:down")39    mouse_click()40    mouse_click()41    mouse_click()42    key("{modifiers}:up")43long press:44    # help: Left click and hold the mouse down for 1 second and then release it45    mouse_drag()46    sleep(1s)47    mouse_release()4849move [the] cursor down [by] <number> pixels | move [the] mouse down [by] <number> pixels | move [the] cursor down [by] one pixel | move [the] mouse down [by] one pixel | move [the] cursor down [by] a pixel | move [the] mouse down [by] a pixel:50    # help: Move the mouse down by the given number of pixels51    number = number or 152    x = mouse_x()53    y = mouse_y()54    mouse_move(x, y + number)55move [the] cursor [to the] left <number> pixels | move [the] mouse [to the] left [by] <number> pixels | move [the] cursor [to the] left [by] one pixel | move [the] mouse [to the] left [by] one pixel | move [the] cursor [to the] left [by] a pixel | move [the] mouse [to the] left [by] a pixel:56    # help: Move the mouse left by the given number of pixels57    number = number or 158    y = mouse_y()59    x = mouse_x()60    mouse_move(x - number, y)61move [the] cursor [to the] right [by] <number> pixels | move [the] mouse [to the] right [by] <number> pixels | move [the] cursor [to the] right [by] one pixel | move [the] mouse [to the] right [by] one pixel | move [the] cursor [to the] right [by] a pixel | move [the] mouse [to the] right [by] a pixel:62    # help: Move the mouse right by the given number of pixels63    number = number or 164    x = mouse_x()65    y = mouse_y()66    mouse_move(x + number, y)67move [the] cursor up [by] <number> pixels | move [the] mouse up [by] <number> pixels | move [the] cursor up [by] one pixel | move [the] mouse up [by] one pixel | move [the] cursor up [by] a pixel | move [the] mouse up [by] a pixel:68    # help: Move the mouse up by the given number of pixels69    number = number or 170    x = mouse_x()71    y = mouse_y()72    mouse_move(x, y - number)7374scroll [the] mouse down [<number_small> times]:75    # help: Scroll the mouse wheel down. If a number of times is given, do it that many times.76    number_small = number_small or 177    mouse_scroll(120)78    repeat(number_small - 1)79scroll [the] mouse up [<number_small> times]:80    # help: Scroll the mouse wheel up. If a number of times is given, do it that many times.81    number_small = number_small or 182    mouse_scroll(-120)83    repeat(number_small - 1)84scroll [the] mouse right [<number_small> times]:85    # help: Scroll the mouse wheel right. If a number of times is given, do it that many times.86    number_small = number_small or 187    mouse_scroll(0, 120)88    repeat(number_small - 1)89scroll [the] mouse left [<number_small> times]:90    # help: Scroll the mouse wheel left. If a number of times is given, do it that many times.91    number_small = number_small or 192    mouse_scroll(0, -120)93    repeat(number_small - 1)