Specify zero (0) to move the mouse without clicking (for example: Click 100, 200, 0).ĭown or Up: These words are normally omitted, in which case each click consists of a down-event followed by an up-event. If coordinates are specified, ClickCount must appear after them. For them, use a Loop such as the following:ĬlickCount: The number of times to click the mouse (examples: Click 2, Click 100, 200, 2). However, some applications do not obey a ClickCount higher than 1 for the mouse wheel. For ClickCount (below), specify the number of notches to turn the wheel. In v1.0.48+, WheelLeft (or WL) or WheelRight (or WR) may also be specified (but they have no effect on older operating systems older than Windows Vista). Mouse Wheel: Specify WheelUp or WU to turn the wheel upward (away from you) specify WheelDown or WD to turn the wheel downward (toward you). NOTE: Unlike MouseClick, the left and right buttons behave consistently across all systems, even if the user has swapped the buttons via the system's control panel. If omitted, the cursor's current position is used.īutton Name: Left (default), Right, Middle (or just the first letter of each of these) or the fourth or fifth mouse button (X1 or X2). Coordinates are relative to the active window unless CoordMode was used to change that. X, Y: The x/y coordinates to which the mouse cursor is moved prior to clicking. The items can appear in any order except ClickCount, which must occur somewhere to the right of the coordinates (if coordinates are present). Separate each item from the next with at least one space, tab, and/or comma. Zero or more of the following items can follow the word Click. double-click).Ĭlick down Presses the left mouse button down and holds it.Ĭlick up right Releases the right mouse button.Ĭlick %x% %y% Since click does not support expressions, variables should be enclosed in percent signs. Here are examples of common usages (all commas are optional):Ĭlick (by itself) Clicks the left mouse button once at the mouse cursor's current position.Ĭlick 44, 55 Clicks the left mouse button once at coordinates 44, 55 (based on CoordMode).Ĭlick right 44, 55 Same as above but clicks the right mouse button.Ĭlick 2 Clicks the left mouse button twice at the cursor's current position (i.e. It can also hold down a mouse button, turn the mouse wheel, or move the mouse. Try the following and note, you can adjust the wait times or do other things in between the two times you press the mouse down: click DownĪnd, if you need multiple repeats, you can put it in a loop: loop, 5Ĭlicks a mouse button at the specified coordinates. This is not too hard if you study the help materials.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |