diff options
-rw-r--r-- | macosx/Controller.mm | 11 | ||||
-rw-r--r-- | macosx/English.lproj/Preferences.nib/keyedobjects.nib | bin | 19953 -> 20521 bytes |
2 files changed, 10 insertions, 1 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm index dfc944f50..bd5452296 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -841,6 +841,15 @@ list = hb_get_titles( fHandle ); [self EnableUI: YES]; } + // MetaX insertion via AppleScript + if([[NSUserDefaults standardUserDefaults] boolForKey: @"sendToMetaX"] == YES) + { + NSAppleScript *myScript = [[NSAppleScript alloc] initWithSource: [NSString stringWithFormat: @"%@%@%@", @"tell application \"MetaX\" to open (POSIX file \"", [fDstFile2Field stringValue], @"\")"]]; + [myScript executeAndReturnError: nil]; + [myScript release]; + } + + } else { @@ -998,7 +1007,7 @@ list = hb_get_titles( fHandle ); resumeOrPause = NO; /* we record the current source name here in case the next scan is unsuccessful, then we can replace the scan progress with the old name if necessary */ - sourceDisplayName = [NSString stringWithFormat:[fSrcDVD2Field stringValue]]; + sourceDisplayName = [NSString stringWithFormat:[fSrcDVD2Field stringValue]]; /* if its the initial successful scan after awakeFromNib */ if (currentSuccessfulScanCount == 1) diff --git a/macosx/English.lproj/Preferences.nib/keyedobjects.nib b/macosx/English.lproj/Preferences.nib/keyedobjects.nib Binary files differindex 8a019d9c7..26ec4f322 100644 --- a/macosx/English.lproj/Preferences.nib/keyedobjects.nib +++ b/macosx/English.lproj/Preferences.nib/keyedobjects.nib |