AEEventClass eClass = *((unsigned long*)[eventClass UTF8String]);
AEEventID eID = *((unsigned long*)[eventID UTF8String]);
- NSString *nssendString = [NSString stringWithFormat:@"'----':obj { form:'indx', want:'%s', seld:abso($616C6C20$), from:'null'() }", [key UTF8String]];
+ NSString *nssendString = [NSString stringWithFormat:@"'----':obj { form:'indx', want:'%s', seld:type('all '), from:'null'() }", [key UTF8String]];
const char *sendString = [nssendString UTF8String];
AEArrayDataPointer result = nil;
int pid;
--- /dev/null
+/*
+ * ITAppleEventTools.h
+ * ITFoundation
+ *
+ * Created by Alexander Strange on Wed Feb 11 2004.
+ * Copyright (c) 2004 __MyCompanyName__. All rights reserved.
+ *
+ */
+
+#import <Foundation/Foundation.h>
+#import <Carbon/Carbon.h>
+
+extern NSAppleEventDescriptor *ITSendAEWithString(NSString *sendString, FourCharCode evClass, FourCharCode evID, ProcessSerialNumber *psn);
+
+@interface NSAppleEventDescriptor (ITAELogging)
+-(void) logDesc;
+@end
\ No newline at end of file
--- /dev/null
+/*
+ * ITAppleEventTools.c
+ * ITFoundation
+ *
+ * Created by Alexander Strange on Wed Feb 11 2004.
+ * Copyright (c) 2004 __MyCompanyName__. All rights reserved.
+ *
+ */
+
+#import "ITDebug.h"
+#import "ITAppleEventTools.h"
+
+NSAppleEventDescriptor *ITSendAEWithString(NSString *sendString, FourCharCode evClass, FourCharCode evID, ProcessSerialNumber *psn)
+{
+}
+
+@implementation NSAppleEventDescriptor (ITAELogging)
+-(void) logDesc
+{
+ Handle xx;
+ AEPrintDescToHandle([self aeDesc],&xx);
+ ITDebugLog(@"AE Descriptor: %s", *xx);
+ DisposeHandle(xx);
+}
+@end
\ No newline at end of file
089C1665FE841158C02AAC07,
0867D69AFE84028FC02AAC07,
034768DFFF38A50411DB9C8B,
+ 3D97138805D9FD6B0033607F,
+ 3D97138905D9FD6B0033607F,
);
isa = PBXGroup;
name = ITFoundation;
settings = {
};
};
+ 3D97137B05D9FB7C0033607F = {
+ fileRef = 7CA50B80054E786E0074E1D9;
+ isa = PBXBuildFile;
+ settings = {
+ ATTRIBUTES = (
+ Public,
+ );
+ };
+ };
+ 3D97137C05D9FB7C0033607F = {
+ fileRef = 7CA50B7F054E786E0074E1D9;
+ isa = PBXBuildFile;
+ settings = {
+ };
+ };
+ 3D97137F05D9FBF40033607F = {
+ fileRef = 7CA50B8C054E787D0074E1D9;
+ isa = PBXBuildFile;
+ settings = {
+ ATTRIBUTES = (
+ Public,
+ );
+ };
+ };
+ 3D97138105D9FBFA0033607F = {
+ fileRef = 7CA50B8B054E787D0074E1D9;
+ isa = PBXBuildFile;
+ settings = {
+ };
+ };
+ 3D97138805D9FD6B0033607F = {
+ fileEncoding = 4;
+ isa = PBXFileReference;
+ lastKnownFileType = sourcecode.c.h;
+ path = ITAppleEventTools.h;
+ refType = 4;
+ sourceTree = "<group>";
+ };
+ 3D97138905D9FD6B0033607F = {
+ explicitFileType = sourcecode.c.objc;
+ fileEncoding = 4;
+ isa = PBXFileReference;
+ path = ITAppleEventTools.m;
+ refType = 4;
+ sourceTree = "<group>";
+ };
+ 3D97138A05D9FD6B0033607F = {
+ fileRef = 3D97138805D9FD6B0033607F;
+ isa = PBXBuildFile;
+ settings = {
+ ATTRIBUTES = (
+ Public,
+ );
+ };
+ };
+ 3D97138B05D9FD6B0033607F = {
+ fileRef = 3D97138905D9FD6B0033607F;
+ isa = PBXBuildFile;
+ settings = {
+ };
+ };
//3D0
//3D1
//3D2
7CF6C930057D65B0007FEC13,
7CF6C938057D65BA007FEC13,
7C97DC2E05B614300013E85F,
+ 3D97137B05D9FB7C0033607F,
+ 3D97137F05D9FBF40033607F,
+ 3D97138A05D9FD6B0033607F,
);
isa = PBXHeadersBuildPhase;
runOnlyForDeploymentPostprocessing = 0;
7C97DC2F05B614300013E85F,
370786C305C0B4D700E6D1BA,
37B9B08305C1C47E00702FDB,
+ 3D97137C05D9FB7C0033607F,
+ 3D97138105D9FBFA0033607F,
+ 3D97138B05D9FD6B0033607F,
);
isa = PBXSourcesBuildPhase;
runOnlyForDeploymentPostprocessing = 0;