**Lifecycle Events**
trigger is used to track app-related events such as AppStarted/Closed.
You can subscribe to one or more events from the list. If any of them occurs - trigger becomes active.
This could be used to execute actions linked to different states of the program, e.g. run the script when app is started.
This trigger works in three different states:
Unknown
stateIMPORTANT! When some event has happened, it is guaranteed that even if trigger will subscribe AFTER event has occurred, trigger will still process them correctly right at the moment of subscription
Triggers when application has been started and is fully loaded. It is guaranteed that all triggers and actions are ready-to-run at that point.
Very-very important - in EyeAuras, there is an option called Pause Everything if Active
which DISABLES all auras/trees when app window becomes active(aka foreground/focused).
This is needed to avoid a situation with wrongly configured scripts stealing control from the user - with that option set, just alt-tabbing back into the app will stop everything.
This concept conflicts with Triggers nature as right after the app is loaded, window will be active, which would stop Actions from being executed.
For normal development process, I would recommend to not touch this option as it could really save you from troubles.
BUT! For Packs, having Pause disabled seems like a totally valid choice - it is expected that at that point everything is already configured and tested.
You can disable Pause in Packing configuration
either on Pack's page or in the app
IMPORTANT! When some event has happened, it is guaranteed that even if trigger will subscribe AFTER event has occurred, trigger will still process them correctly right at the moment of subscription
This trigger is a great way to make your workspace more dynamic and adaptive to your current focus.