-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathITAppleEventTools.h
More file actions
20 lines (17 loc) · 1001 Bytes
/
ITAppleEventTools.h
File metadata and controls
20 lines (17 loc) · 1001 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
* ITMac
* ITAppleEventTools.h
*
* Functions to aid in sending raw AppleEvents.
*
* Copyright (c) 2005 iThink Software
*
*/
#import <Foundation/Foundation.h>
#import <Carbon/Carbon.h>
extern NSString *_ITAEDescCarbonDescription(AEDesc desc);
extern NSAppleEventDescriptor *ITSendAE(FourCharCode eClass, FourCharCode eID, const ProcessSerialNumber *psn);
extern NSAppleEventDescriptor *ITSendAEWithKey(FourCharCode reqKey, FourCharCode evClass, FourCharCode evID, const ProcessSerialNumber *psn);
extern NSAppleEventDescriptor *ITSendAEWithString(NSString *sendString, FourCharCode evClass, FourCharCode evID, const ProcessSerialNumber *psn);
extern NSAppleEventDescriptor *ITSendAEWithStringAndTimeout(NSString *sendString, FourCharCode evClass, FourCharCode evID, const ProcessSerialNumber *psn, long timeout);
extern NSAppleEventDescriptor *ITSendAEWithStringAndObject(NSString *sendString, const AEDesc *object, FourCharCode evClass, FourCharCode evID, const ProcessSerialNumber *psn);