On Oct 15, 2007, at 8:18 pm, John Wallace wrote: My problem is that when the control panel launches the agent, the agent becomes the frontmost application. The control panel's window is inactive; its menus still appear, although greyed out. The worst of it is that the agent receives key events, thus when a user presses command-Q, thinking they're quitting the control panel, they quit the agent. Grrr.
Rather than running it as an LSUIElement, you might want to try and run it as an LSBackgroundOnly. I thought so too, but using LSBackgroundOnly (instead) seems to do nothing at all in my case - the agent gets a dock icon and a menu! |