X-Git-Url: http://git.ithinksw.org/ITFoundation.git/blobdiff_plain/e49df79ca1b49ae546b2f8ad7744689979e5f6b7..c9052c980424ad549525715bd3b1239d6dd4ca11:/ITAppleEventCenter.m?ds=sidebyside diff --git a/ITAppleEventCenter.m b/ITAppleEventCenter.m index 1fedec5..2466e43 100755 --- a/ITAppleEventCenter.m +++ b/ITAppleEventCenter.m @@ -439,8 +439,9 @@ static ITAppleEventCenter *_sharedAECenter = nil; //AEBuildAppleEvent(eClass, eID, typeProcessSerialNumber,(ProcessSerialNumber*)&psn, sizeof(ProcessSerialNumber), kAutoGenerateReturnID, kAnyTransactionID, &event, nil, ""); AECreateDesc(typeProcessSerialNumber,(ProcessSerialNumber*)&psn,sizeof(ProcessSerialNumber),&dest); AECreateAppleEvent(eClass,eID,&dest,kAutoGenerateReturnID,kAnyTransactionID,&event); +[self printCarbonDesc:&event]; AESend(&event, &reply, kAENoReply, kAENormalPriority, kAEDefaultTimeout, idleUPP, nil); - +[self printCarbonDesc:&reply]; AEDisposeDesc(&dest); AEDisposeDesc(&event); AEDisposeDesc(&reply); @@ -612,4 +613,4 @@ return result; return result; } -@end +@end \ No newline at end of file