Trigger on Changing Desktop Space?

Is it possible run a macro on changing to a different desktop space? I’m trying to create a macro that runs every 15 minutes that changes my background picture. However, changing the desktop picture through AppleScript or Automator doesn’t apply it to all spaces. So, my workaround was to have KM run it on space change as well.


EDIT: Discovered KM version as well. all screens option still only works with “screens” (if I had a second monitor I think that one would be changed)