标签:io ar for cti sp log on amp c
NSString *path = [[NSBundle mainBundle] pathForResource:@"××××" ofType:@"scpt"];
NSAppleScript *script = [[NSAppleScript alloc] initWithContentsOfURL:[NSURL fileURLWithPath:path] error:nil];
NSDictionary *error = nil;
[script executeAndReturnError:&error];
if ( error ) {
NSLog(@"Execution error: %@", error);
}
标签:io ar for cti sp log on amp c
原文地址:http://www.cnblogs.com/innovator/p/3958362.html