<<

Contents

Search

>>

 

SYNCHRONIZE_MOUSE

 

 

Instruction

 

 

Syntax:

SYNCHRONIZE_MOUSE(<Type>)

 

<Type> = <NUM-EXPRESSION>

 

Meaning:

The following macros

 

ON MOUSE MACRO

ON LBUTTONUP MACRO

ON RMOUSE MACRO

ON RBUTTONUP MACRO

 

are immediately executed when the corresponding event happens. It is possible that a macro is startet while another macro is still running (e.g. ON LBUTTON MACRO is executed while ON MOUSE MACRO is still running). If the instruction SYNCHRONIZE_MOUSE(<Type>) with <Type> <> 0 has been executed, the mouse macros will be synchronized, this means that the next macro is started not until the previous macro has finished.

 

At the start of the program SYNCHRONIZE_MOUSE(0) is valid.

 

Parameter:

Type

 

= 0: Mouse macros are not synchronized

<> 0: Mouse macros are synchronized

 

Sample:

SYNCHRONIZE_MOUSE(1)

 

See also:

SYNCHRONIZED

ADD_SYNCHRONIZED

SET_SYNCHRONIZED

ON

EBUS_OPTIMIZE_MOUSEMOVE