FROM : Marco Cassinerio
DATE : Mon Mar 24 11:14:02 2008
>>
>
> If done through NSDistributedNotificationCenter or NSWorkspace's
> special notification center, then yes. Otherwise, no. What exactly
> are you trying to accomplish?
>
> Nick Zitzmann
> <http://www.chronosnet.com/>
>
I would my application be notified when:
- another application has been launched
- another application is being switched to active (for now, i check
periodically the active application with NSWorkspace)
- another application opens new window or document window
- another application changes the frontmost window
- another application is performing an open/save action
Currently I'm doing that through apple script, but i'm searching for a
better and cleaner way.
Marco
DATE : Mon Mar 24 11:14:02 2008
>>
>
> If done through NSDistributedNotificationCenter or NSWorkspace's
> special notification center, then yes. Otherwise, no. What exactly
> are you trying to accomplish?
>
> Nick Zitzmann
> <http://www.chronosnet.com/>
>
I would my application be notified when:
- another application has been launched
- another application is being switched to active (for now, i check
periodically the active application with NSWorkspace)
- another application opens new window or document window
- another application changes the frontmost window
- another application is performing an open/save action
Currently I'm doing that through apple script, but i'm searching for a
better and cleaner way.
Marco
| Related mails | Author | Date |
|---|---|---|
| Marco Cassinerio | Mar 23, 22:07 | |
| Sherm Pendley | Mar 23, 22:17 | |
| Marco Cassinerio | Mar 23, 22:36 | |
| Nick Zitzmann | Mar 24, 01:38 | |
| Marco Cassinerio | Mar 24, 11:14 | |
| Jens Alfke | Mar 24, 15:57 | |
| A.M. | Mar 24, 16:12 |






Cocoa mail archive

