Trigger On Idle/Screensaver?

I’m trying to find a way to run a macro when the screensaver is on, and/or when the computer has not been used for “X” minutes.

There doesn’t seem to be a direct way to do this… I assume the best way is to do a “while logged in” every X minutes from midnight to midnight and then have an “if” condition to check IDLE() and/or ScreenSaverEngine?

Yes, that’s about the best way. Thankfully the periodic trigger can be quite long so there is no real performance issue.