I have an applescript that does screen capture of a specific monitor (in a dual-monitor configuration) to a user-defined folder. I wish to run this using a shortcut keyboard command during a powerpoint presentation.
However, it seems that presentation mode on Office:Mac (using presenter view and the presentation view) does not allow me to run programs in the background. What happens is that when the script runs, powerpoint minimizes, and then restores at the end of the script, so I end up taking a picture of the desktop/blank screen instead.
I've tried restoring Powerpoint as the active window before taking a screenshot, which gives me a screenshot of the slide (yes!), but it's not a complete solution. This solution doesn't work because we are trying to get an image of on-screen annotations (using Omnidazzle's Scribble) over the slides, and this erases the annotations.
What are my options? Can powerpoint macros be run simultaneously in presentation mode?