Hello,

My application tries to perform mouse clicks on Mac (trying in 10.14.6).

I've tried these 2 variants:

dim mb1,mb2 as boolean

mb1=RemoteControlMBS.MouseClick(j,k,True)
mb2=RemoteControlMBS.MouseClick(j,k,False)

if mb1 and not mb2 then MessageBox "Warning! Mouse held down!"

or

mb1=RemoteControlMBS.MacMouseClick(j,k,True,True)
mb2=RemoteControlMBS.MacMouseClick(j,k,True,False)

if mb1 and not mb2 then MessageBox "Warning! Mouse held down!"

With both versions, I always get the MessageBox shown, which means the mouse 
was down successfully but failed to be released.
Further, occasionally (but far from always; I'd say around 1 out of 5 times), 
my Mac is indeed stuck (the mouse can be moved on the screen, albeit the cursor 
won't change, and no input can be performed (mouse clicks, keyboard presses, 
…)). In this case, my only option is to send a new click (from another 
computer) to release the mouse.

Is there a way to know why releasing the mouse's button failed? What else may I 
try?
_______________________________________________
mbsplugins@monkeybreadsoftware.info mailing list
%(list_address)s
https://ml-cgn08.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to