From d2b26455c859064af12022459652a804d2be1750 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Wed, 15 Jun 2011 19:01:04 +0000 Subject: Tidy up bundle editor UI. --- Source/SPAppleScriptSupport.m | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'Source/SPAppleScriptSupport.m') diff --git a/Source/SPAppleScriptSupport.m b/Source/SPAppleScriptSupport.m index 90ab240e..337a14dc 100644 --- a/Source/SPAppleScriptSupport.m +++ b/Source/SPAppleScriptSupport.m @@ -31,23 +31,6 @@ @implementation SPAppController (SPAppleScriptSupport) -//////////////// Examples to catch AS core events - maybe for further stuff -// - (void)handleQuitEvent:(NSAppleEventDescriptor *)event withReplyEvent:(NSAppleEventDescriptor *)replyEvent -// { -// [NSApp terminate:self]; -// } -// - (void)handleOpenEvent:(NSAppleEventDescriptor *)event withReplyEvent:(NSAppleEventDescriptor *)replyEvent -// { -// NSLog(@"OPEN "); -// } -// -// - (void)applicationWillFinishLaunching:(NSNotification *)aNotification -// { -// NSAppleEventManager *aeManager = [NSAppleEventManager sharedAppleEventManager]; -// [aeManager setEventHandler:self andSelector:@selector(handleQuitEvent:withReplyEvent:) forEventClass:kCoreEventClass andEventID:kAEQuitApplication]; -// [aeManager setEventHandler:self andSelector:@selector(handleOpenEvent:withReplyEvent:) forEventClass:kCoreEventClass andEventID:kAEOpenApplication]; -// } - /** * Is needed to interact with AppleScript for set/get internal SP variables */ -- cgit v1.2.3