diff options
Diffstat (limited to 'Source/SPAppController.m')
-rw-r--r-- | Source/SPAppController.m | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m index adb4eb95..c6c5c44a 100644 --- a/Source/SPAppController.m +++ b/Source/SPAppController.m @@ -551,6 +551,15 @@ } } + + if(processDocument && command && [command isEqualToString:@"passToDoc"]) { + NSMutableDictionary *cmdDict = [NSMutableDictionary dictionary]; + [cmdDict setObject:parameter forKey:@"parameter"]; + [cmdDict setObject:passedProcessID forKey:@"id"]; + [processDocument handleSchemeCommand:cmdDict]; + return; + } + if(processDocument) NSLog(@"process doc ID: %@\n%@", [processDocument processID], [processDocument tabTitleForTooltip]); else |