Up

_EmulateMouseClick Scol 5.x or above required

Mouse click emulation.

state = 0 and button = 1 : left released
state = 0 and button = 2 : right released
state = 0 and button = 3 : middle released
state = 0 and button = other value : left released
state = 1 and button = 1 : left pressed
state = 1 and button = 2 : right pressed
state = 1 and button = 3 : middle pressed
state = other value : left pressed

Prototype :

fun [I I] I

Return : I always 0.

See also :

Example :