Re: About notification NSWindowDidMiniaturizeNotification

2011-03-08 Thread Ivan Chen
Yes, Just heard that from one of my Mac team friends 'o- Is there any other way to observer such interprocess window events? Thanks Ivan Chen On Mar 9, 2011, at 9:20 AM, Quincey Morris wrote: > On Mar 8, 2011, at 16:17, Ivan Chen wrote: > >> What I really want to observe

Re: About notification NSWindowDidMiniaturizeNotification

2011-03-08 Thread Ivan Chen
SWorkspace sharedWorkspace]]; They all work 'o- (the registerXXXNotification is method write by myself) Thanks Ivan Chen On Mar 8, 2011, at 8:42 PM, Jim McGowan wrote: >>> with "onObject:nil" you are not providing an NSWindow instance to observe >> >> >> Not s

About notification NSWindowDidMiniaturizeNotification

2011-03-07 Thread Ivan Chen
Hi, Guys I write the following code and try to observe the window miniaturized notification, it doesn't work, can anyone tell me why? - (void)windowMiniaturized:(NSNotification*)notification { NSLog(@"%@", notification); } - (void)registerDefaultNotification:(NSString*)notification wi

Few question about iCal

2011-03-04 Thread Ivan Chen
should not affect the user use iCal (like not take the input focus away) ... Questions: 1, Any idea about how to make this floating window? 2, Is there a way to add customized data field into iCal event through CalendarStore or something like that?! Thanks Ivan Chen