keep running when hidden in OSX?

Hi all

I am wondering if it’s possible to have an OF app keep running in the background when hidden in OSX. I have a simple OF app which every once in a while saves an image from a web cam pointed out a distant window and uses apple script to set it as the wallpaper (for those of us working in spaces without windows!)

I wanted to have the app launch and stay hidden on startup, but when hidden it stops working. the app itself is just an image of the vid feed that periodically calls grabScreen(). Is there any workaround for this?

Cheers,
nay.

are you calling grabScreen in draw? i think when hidden draw doesn’t work, but update does.

thanks arturo, moving it from draw to update did the trick!