Activate Normal IsActive Macros Actions Conditions ConditionList ConditionType Calculation Text SCREENSAVER() ConditionType Calculation Text IDLE() > 300 ConditionListMatch All ElseActions IsActive IsDisclosed MacroActionType IfThenElse ThenActions IsActive IsDisclosed MacroActionType Comment Text IDLE() > 300 means = 5 minutes idle time Either the screensaver is ON or the screen is OFF Title (screen off OR screensaver on) AND idle 300 seconds Action Quit Application BundleIdentifier org.videolan.vlc Name VLC NewFile /Applications/VLC.app IsActive IsDisclosed MacroActionType QuitSpecificApp Target Specific TimeOutAbortsMacro IsActive ModificationDate 412711354.88102901 Name Quit VLC if (Screensaver = On/Screen = Off) and Idle 300s Triggers ExecuteType While MacroTriggerType Time Repeat RepeatTime 60 TimeFinishHour 0 TimeFinishMinutes 0 TimeHour 0 TimeMinutes 0 WhichDays 127 UID 8B3ED39F-282E-4419-AB09-03C938850C65 Name Global Macro Group UID DA8512F7-F323-46B1-8319-752E0495CFD0