User Tools

Site Tools


function:MOUSEBUTTON

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
function:MOUSEBUTTON [2016/02/27 12:24]
AlainLifchitz add link to forum
function:MOUSEBUTTON [2021/10/15 02:18] (current)
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 =====
  
-==== Documentation ​====+==== Actions====
  
-* [[action:Manipulate a Window|action:Manipulate a Window]][[action:​Move or Click Mouse|action:Move or Click Mouse]] +* [[action:Manipulate_a_Window|Manipulate a Window]] ​action 
-* [[function:​MENUBARHEIGHT|function:MENUBARHEIGHT]][[function:​MOUSEX|function:MOUSEX]][[function:​MOUSEY|function:MOUSEY]][[function:​SCREEN|function:SCREEN]][[function:SCREENCOUNT|function:​SCREENCOUNT]][[function:SCREENVISIBLEfunction:​SCREENVISIBLE]][[function:​WINDOW|function:WINDOW]][[function:​WINDOWCOUNT|function:​WINDOWCOUNT]]+[[action:Move_or_Click_Mouse|Move or Click Mouse]] action 
 +* [[:Actions|See all Actions]] 
 + 
 +==== Functions ==== 
 + 
 +* [[function:​MENUBARHEIGHT|MENUBARHEIGHT]] ​function 
 +[[function:​MOUSEX|MOUSEX]] ​function 
 +[[function:​MOUSEY|MOUSEY]] ​function 
 +[[function:​SCREEN|SCREEN]] ​function 
 +[[function:SCREENVISIBLESCREENVISIBLE]] function 
 +[[function:SCREENINDEXSCREENINDEX]] function 
 +[[function:​WINDOW|WINDOW]] ​function 
 +[[function:​WINDOWCOUNT|WINDOWCOUNT]] ​function 
 +* [[:Functions|See all Functions]]
  
 ==== Forum ==== ==== Forum ====
  
-[[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?​]] 
  
function/MOUSEBUTTON.1456593875.txt.gz · Last modified: 2016/02/27 12:24 by AlainLifchitz