Re: Send Key Event to Focused Window

2008-06-18 Thread j o a r
On Jun 18, 2008, at 12:31 AM, Daniel wrote: I'm developing a tool for assistive input and my question is how can I send a key event (like a keyboard press event) to the current window (whatever this one could be), for data input. Have you looked at the Quartz Event Services?

Send Key Event to Focused Window

2008-06-18 Thread Daniel
Hi to all, I'm developing a tool for assistive input and my question is how can I send a key event (like a keyboard press event) to the current window (whatever this one could be), for data input. I've tried the following, but only a beep is produced by my machine. id keyTarget = [[NSApp ke

Re: Getting all subclasses

2008-06-18 Thread Graham Cox
If you need a list of subclasses of a class, there isn't a built-in function - you have to test them one at a time. However I had the exact same need recently and wrote a little helper class to do it. One thing I ran into in my situation is that I really needed to prevent +initialize from e

Re: File System Notifications

2008-06-18 Thread Jean-Daniel Dupas
Le 18 juin 08 à 04:04, Omar Qazi a écrit : I'm a little confused about file system notifications in Cocoa. In NSWorkspace, it says that the method for subscribing to file system notifications will always return NO, which seems useless to me. I know Carbon has the FNSubscribe() and FNUnsubs

Re: Grand Central Details

2008-06-18 Thread Jean-Daniel Dupas
Le 18 juin 08 à 03:40, Bill Bumgarner a écrit : On Jun 17, 2008, at 6:02 PM, Michael Gardner wrote: Too bad you can't avoid blocking at least occasionally with the event-driven APIs, meaning you still have to use threads to avoid it completely. I don't really see in what situation you ha

Re: Newbie interface questions - multiple "modal" windows

2008-06-18 Thread Uli Kusterer
Am 17.06.2008 um 23:41 schrieb Matthew Youney: The structure, documentation of Cocoa, as well as observation of this forum has helped me to evolve (clean up) my OI technique, and hopefully take my code to the next level. Although I have always been a very "hardware oriented" programmer, and

<    1   2