Search code examples
cocoamacospowerpointkeynote

Display Cocoa window above Keynote presentation


Some context: I am building a tool to be used on screen during a Keynote or PowerPoint presentation.

The biggest issue I've had so far is that Keynote seems to take over the desktop whenever you view a presentation. I have tried setting my Cocoa window's level to the maximum using:

[[self window] setLevel:kCGMaximumWindowLevel];

That seems to have some effect (I can have the window hover over Keynote's "control panel" that's active in the off-screen window), but it doesn't let me hover over the actual presentation.

Any ideas? Thanks in advance for the help!


Solution

  • Try setting the level to NSScreenSaverWindowLevel + 1.