| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
i've looked in the archived and the documentation and i'm still not able to record event sent by my application._______________________________________________
Here is an example of a function is use to send an event, it get executed, but not recorded.
Is there a key in the plist of the app to set, a special thing to do at application start up
Olivier
//build the event
//
//create the event to insert at the end of the device hubs of the selected item
err = AEBuildAppleEvent('core', 'crel', typeApplSignature,
&myCreatorCode, sizeof(myCreatorCode),
kAutoGenerateReturnID, kAnyTransactionID,
&event, &theError,
"kocl:type('DeHu'), insh:insl{ kobj:obj { form:'indx', want:type('DeHu'), seld:abso($616C6C20$), from:obj { form:'indx', want:type('DeHu'), seld:1, from:'null'() } }, kpos:'end ' }",
theContainer);
if (err == noErr)
err = AESend (&event, &reply, kAEQueueReply, kAENormalPriority, kAEDefaultTimeout, NULL, NULL);
AEDisposeDesc(&event);
AEDisposeDesc(&reply);
| References: | |
| >applescript: recordability (From: Olivier Destrebecq <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.