/* * NSAppleEventDescriptor+NDAppleScriptObject.h * AppleScriptObjectProject * * Created by Nathan Day on Fri Dec 14 2001. * Copyright (c) 2001 Nathan Day. All rights reserved. */ #import #import @interface NSAppleEventDescriptor (NDAppleScriptObject) + (NSAppleEventDescriptor *)appleEventDescriptorWithString:(NSString *)aString; + (NSAppleEventDescriptor *)aliasListDescriptorWithArray:(NSArray *)aArray; + (NSAppleEventDescriptor *)appleEventDescriptorWithURL:(NSURL *)aURL; + (NSAppleEventDescriptor *)aliasDescriptorWithURL:(NSURL *)aURL; + (NSAppleEventDescriptor *)appleEventDescriptorWithBOOL:(BOOL)aValue; + (NSAppleEventDescriptor *)trueBoolDescriptor; + (NSAppleEventDescriptor *)falseBoolDescriptor; + (NSAppleEventDescriptor *)appleEventDescriptorWithShort:(short int)aValue; + (NSAppleEventDescriptor *)appleEventDescriptorWithLong:(long int)aValue; + (NSAppleEventDescriptor *)appleEventDescriptorWithInt:(int)aValue; + (NSAppleEventDescriptor *)appleEventDescriptorWithFloat:(float)aValue; + (NSAppleEventDescriptor *)appleEventDescriptorWithDouble:(double)aValue; + (NSAppleEventDescriptor *)appleEventDescriptorWithUnsignedInt:(unsigned int)aValue; - (ProcessSerialNumber)targetProcessSerialNumber; - (OSType)targetCreator; - (BOOL)isTargetCurrentProcess; @end