[Pythonmac-SIG] PythonLauncher - first stab available
Ian McLaury
ianjones@purgatory.healthmedia.umich.edu
Wed, 31 Jul 2002 09:38:33 -0400
At 9:33 AM -0400 7/31/02, Ian McLaury wrote:
>- (BOOL)application:(NSApplication *)theApplication
>openFile:(NSString *)filename {
> if (([[anApplication currentEvent] modifierFlags] &
>NSAlternateKeyMask) == 0) {
D'oh, copy & paste error! 'anApplication' on the second line should
of course be 'theApplication'.
Also, on the thread I pointed out, the most useful Cocoa response
comes from Michael Peirce, although a couple people mention Carbon
ways to do it.