Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OSStatus FSMountServerVolumeSync (
- CFURLRef url,
- CFURLRef mountDir,
- CFStringRef user,
- CFStringRef password,
- FSVolumeRefNum *mountedVolumeRefNum,
- OptionBits flags
- );
- NSString* cmd = @"choose URL";
- NSString* cmd = @"tell application "Finder" to activatendelay 0.2ntell application "System Events" to keystroke "k" using command down";
- NSAppleScript* theScript = [[NSAppleScript alloc] initWithSource:cmd];
- [theScript executeAndReturnError:nil];
- [theScript release];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement