aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPAppController.m')
-rw-r--r--Source/SPAppController.m7
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m
index 0a59287c..534b3741 100644
--- a/Source/SPAppController.m
+++ b/Source/SPAppController.m
@@ -528,7 +528,11 @@
{
NSURL *url = [NSURL URLWithString:[[event paramDescriptorForKeyword:keyDirectObject] stringValue]];
-
+ [self handleEventWithURL:url];
+}
+
+- (void)handleEventWithURL:(NSURL*)url
+{
NSString *command = [url host];
NSString *passedProcessID = [url user];
NSArray *parameter;
@@ -588,7 +592,6 @@
NSLog(@"param: %@", parameter);
NSLog(@"command: %@", command);
NSLog(@"command id: %@", passedProcessID);
-
}
#pragma mark -