Is it possible to reset the trigger myself?

selevo

New member
Good luck to everyone!

Is there any way to check the state of a trigger?
I have not found out where this is stored and whether it is possible to reset this state from a macro.
In general, it would be nice if the trigger state could be reset.

The fact is that my macro is triggered when text appears on the screen, but it only fires once.

When the text disappeared and reappeared, the macro does not run and I cannot figure out what the problem is.
In addition, it turned out that the text trigger on the screen does not exactly correspond to the name, it sees the text behind the screen area and the text that is not visible to the user, but this is another topic.
 

Dm114

Well-known member
Good luck to everyone!

Is there any way to check the state of a trigger?
I have not found out where this is stored and whether it is possible to reset this state from a macro.
In general, it would be nice if the trigger state could be reset.

The fact is that my macro is triggered when text appears on the screen, but it only fires once.

When the text disappeared and reappeared, the macro does not run and I cannot figure out what the problem is.
In addition, it turned out that the text trigger on the screen does not exactly correspond to the name, it sees the text behind the screen area and the text that is not visible to the user, but this is another topic.
A trigger cannot be "reset" as its job is to fire at the exact moment the expected event occurs. It is also supposed to fire every time the event occurs except when 2 identical events occur nearly at the same time (if @MacroDroidDev can confirm this limitation).
 

mapriex

Active member
i think you mixed something. as long as the trigger on text is active (even on multiple different screens afterwords), the triggers keeps active. there are 2 ways to reactivate it:
1. you got a screen without the text frame. (watch out: internal or visible).
2. with another macro: on a specific condition you disable/enable the concerning macro.

its tricky.
 

Dm114

Well-known member
i think you mixed something. as long as the trigger on text is active (even on multiple different screens afterwords), the triggers keeps active. there are 2 ways to reactivate it:
1. you got a screen without the text frame. (watch out: internal or visible).
2. with another macro: on a specific condition you disable/enable the concerning macro.

its tricky.
As long as a trigger is not disabled (as well as the concerned macro), it is "active", i.e. it is ready to fire as soon as the watched event occurs
 

selevo

New member
Thank's
I guess I'll have to do some experiments to understand this more accurately.

In my opinion, the trigger is not called very accurately, since it also sees invisible text.
It's more like an application's display layers or text layers than a screen.
 

Dm114

Well-known member
Thank's
I guess I'll have to do some experiments to understand this more accurately.

In my opinion, the trigger is not called very accurately, since it also sees invisible text.
It's more like an application's display layers or text layers than a screen.
You may be right. I scarcely use this kind of trigger because I don't need in my macros but, in older MD versions I remember Read screen trigger was not very reliable.

Maybe some users who used to use this kind of trigger will be able to give some more explanation on a possible lack of reliability in some cases...
 

mapriex

Active member
Thank's
I guess I'll have to do some experiments to understand this more accurately.

In my opinion, the trigger is not called very accurately, since it also sees invisible text.
It's more like an application's display layers or text layers than a screen.
the best method is to use a test macro to read the screen items to all the different screens that are concerned.
thinking also about different conditions to reduce the concerned screens as much as possible.
i know its a pain in the ass, but once you have done it patiently then you will be happy. its almost like art, the masterpiece takes time.
 

dhj49er

Well-known member
Good luck to everyone!

Is there any way to check the state of a trigger?
I have not found out where this is stored and whether it is possible to reset this state from a macro.
In general, it would be nice if the trigger state could be reset.

The fact is that my macro is triggered when text appears on the screen, but it only fires once.

When the text disappeared and reappeared, the macro does not run and I cannot figure out what the problem is.
In addition, it turned out that the text trigger on the screen does not exactly correspond to the name, it sees the text behind the screen area and the text that is not visible to the user, but this is another topic.
Try the following

T Read screen contents
A Disable Trigger this macro Read screen contents
A your other actions
T Enable Trigger this macro Read screen contents.
 
Top