09-02-2012, 08:47 PM
I am trying to make simple multi trigger macro, which starts on the following conditions:
- when notepad is active
AND
- when [CONTROL] + [LEFT MOUSE CLICK]
If the above conditions are met then:
start a menu ("test_menu")
There is a "multi trigger" button but it runs the the attached macro and skips the second trigger.
To be more clear, I have a menu called "test_menu":
Menu test_menu
Trigger #CL 0x8
The code above triggers on: [CONTROL] + [LEFT MOUSE CLICK]
But I used the "multi-trigger" button to add a macro which runs the above "test_menu" but only when a notepad window is active.
Macro trigger2_test_menu
Trigger !a"Untitled - Notepad" "Notepad"
When I switch to notepad, it immediately runs the macro "test_menu".
But I only want it to run when the [CONTROL] + [LEFT MOUSE CLICK] is clicked within notepad.
What am I doing wrong? (Or is there another way I must approach this?)
- when notepad is active
AND
- when [CONTROL] + [LEFT MOUSE CLICK]
If the above conditions are met then:
start a menu ("test_menu")
There is a "multi trigger" button but it runs the the attached macro and skips the second trigger.
To be more clear, I have a menu called "test_menu":
Menu test_menu
Trigger #CL 0x8
The code above triggers on: [CONTROL] + [LEFT MOUSE CLICK]
But I used the "multi-trigger" button to add a macro which runs the above "test_menu" but only when a notepad window is active.
Macro trigger2_test_menu
Trigger !a"Untitled - Notepad" "Notepad"
When I switch to notepad, it immediately runs the macro "test_menu".
But I only want it to run when the [CONTROL] + [LEFT MOUSE CLICK] is clicked within notepad.
What am I doing wrong? (Or is there another way I must approach this?)