title: Unable to parse the result returned by NSAppleScript method executeAndReturnError
body: <p>This is the code which i am using:</p>
  
  <pre><code>NSDictionary *errorInfo=nil;
  NSString *source=@"tell application \"Mail\"\nget name of mailbox of every account\nend tell";
  NSAppleScript *run = [[NSAppleScript alloc] initWithSource:source];
  NSAppleEventDescriptor *aDescriptor=[[NSAppleEventDescriptor alloc]init];
  aDescriptor=[run executeAndReturnError:&amp;errorInfo];
  [aDescriptor coerceToDescriptorType:'utxt'];
  NSLog(@"result:%@",[aDescriptor stringValue]);
  </code></pre>
  
  <p>Output which i got:
  result:(null)</p>
  
  <p>Please help me anyone on this.Thanks in advance:)</p>