08-29-2010, 12:56 PM
Is there a possibility to check if the mouse is in a specific region
and do a action/start a macro if it clicks there?
I thaugt about a variable named rect.a or something similiar, where the coordinates of the button are saved.
Another variable should change if the button was clicked.
I tried to arrange that for hours, but it seems that i did it completeley wrong so i want to start from zero again.
I searched in the forum too, but ive found nothing similiar.
Maybe someone can teach me a bit in complex if statements.
From other Programming Languages i know this way:
and do a action/start a macro if it clicks there?
I thaugt about a variable named rect.a or something similiar, where the coordinates of the button are saved.
Another variable should change if the button was clicked.
int Rect.a
int Rect.b
int Action
if (Rect.a & ifk((1)))
Action = 1
if (Rect.b & ifk((1)))
Action = 2
I searched in the forum too, but ive found nothing similiar.
Maybe someone can teach me a bit in complex if statements.
From other Programming Languages i know this way: