/ Published in: Objective C
If you're writing a preference pane and you'd like to exit back to the main System Preferences view, just use this code.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
NSAppleScript *script = [[NSAppleScript alloc] initWithSource:@"tell application \"System Preferences\" to set show all to true"]; [script executeAndReturnError:nil];