This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
function:MOUSEBUTTON [2016/08/13 09:40] alain Add forgotten title |
function:MOUSEBUTTON [2021/10/15 02:18] peternlewis |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | The MOUSEBUTTON() function returns whether the Mac's mouse button is pressed. It returns 1 if the button is pressed or 0 otherwise. It takes an optional parameter indicating the desired mouse button. | + | ====== MOUSEBUTTON Function ====== |
+ | |||
+ | The *MOUSEBUTTON()* function returns whether the Mac's mouse button is pressed. It returns 1 if the button is pressed or 0 otherwise. It takes an optional parameter indicating the desired mouse button. | ||
MOUSEBUTTON() === MOUSEBUTTON(1) === whether the left mouse button is pressed | MOUSEBUTTON() === MOUSEBUTTON(1) === whether the left mouse button is pressed | ||
Line 9: | Line 11: | ||
===== See Also ===== | ===== See Also ===== | ||
- | --- | + | ==== Actions==== |
- | === Actions === | + | * [[action:Manipulate_a_Window|Manipulate a Window]] action |
- | + | * [[action:Move_or_Click_Mouse|Move or Click Mouse]] action | |
- | * [[action:Manipulate a Window|Manipulate a Window]] | + | |
- | * [[action:Move or Click Mouse|Move or Click Mouse]] | + | |
* [[:Actions|See all Actions]] | * [[:Actions|See all Actions]] | ||
- | === Functions === | + | ==== Functions ==== |
- | * [[function:MENUBARHEIGHT|MENUBARHEIGHT()]] | + | * [[function:MENUBARHEIGHT|MENUBARHEIGHT]] function |
- | * [[function:MOUSEX|MOUSEX()]] | + | * [[function:MOUSEX|MOUSEX]] function |
- | * [[function:MOUSEY|MOUSEY()]] | + | * [[function:MOUSEY|MOUSEY]] function |
- | * [[function:SCREEN|SCREEN()]] | + | * [[function:SCREEN|SCREEN]] function |
- | * [[function:SCREENCOUNT|SCREENCOUNT()]] | + | * [[function:SCREENVISIBLE| SCREENVISIBLE]] function |
- | * [[function:SCREENVISIBLE|SCREENVISIBLE()]] | + | * [[function:SCREENINDEX| SCREENINDEX]] function |
- | * [[function:WINDOW|WINDOW()]] | + | * [[function:WINDOW|WINDOW]] function |
- | * [[function:WINDOWCOUNT|WINDOWCOUNT()]] | + | * [[function:WINDOWCOUNT|WINDOWCOUNT]] function |
* [[:Functions|See all Functions]] | * [[:Functions|See all Functions]] | ||
- | |||
- | ---- | ||
==== Forum ==== | ==== Forum ==== | ||
Line 35: | Line 33: | ||
* [[https://forum.keyboardmaestro.com/t/i-need-a-conditional-if-there-are-two-monitors/3031/5|I need a conditional if there are two monitors]] | * [[https://forum.keyboardmaestro.com/t/i-need-a-conditional-if-there-are-two-monitors/3031/5|I need a conditional if there are two monitors]] | ||
* [[https://forum.keyboardmaestro.com/t/repeat-until-mouse-click/4584|Repeat until mouse-click?]] | * [[https://forum.keyboardmaestro.com/t/repeat-until-mouse-click/4584|Repeat until mouse-click?]] | ||
- | |||
- | - [[https://www.google.fr/search?q=site:forum.keyboardmaestro.com+Mouse+Click|Keyboard Maestro Forum topics about Mouse Click]] | ||
- | |||
- | ==== External References ==== | ||