Please enable JavaScript to view this site.

ESL Documentation

subroutine OS_QueryMouseLeft(boolean: WasDown)

subroutine OS_QueryMouseRight(boolean: WasDown)

 

Returns whether the specified button was down when the last event happened.

NB: If you call these subroutines in a loop, the loop must also contain a block. Without a block, no events will be processed, and the boolean will never change value (see Keyboard Queries)

 

subroutine OS_QueryMousePosition(integer: X, integer: Y)

 

Returns the current mouse coordinates in device units relative to desktop

 

 

subroutine OS_QueryMouseObject(string: Object_Name)

 

Returns the ESL name of the object that the mouse is currently over.

If the mouse is not over an ESL visible object, the returned value is "".