Re: AppleEvent question
Re: AppleEvent question
- Subject: Re: AppleEvent question
- From: Matt Neuburg <email@hidden>
- Date: Sun, 6 Oct 2002 08:32:34 -0700
On Tue, 1 Oct 2002 21:04:51 -0400, Ken Tozier <email@hidden> said:
>
I'm working on a utility class to build object specifiers to be used
>
for direct communication with QuarkXPress, and I ran into a roadblock.
>
The version of Quark is old (3.32) and the AppleEvent dictionary was
>
written in the old AETE format. The problem I'm having is figuring how
>
to use the old style four-character event classes, keys and property
>
constants in the new Cocoa classes "NSScriptObjectSpecifier",
>
"NSIndexSpecifier", "NSNameSpecifier" etc...
>
>
For example, say I want to build an object specifier for page 1 of
>
document 1:
I'd say don't bother with the new Cocoa classes. If you don't want to use
AppleScript, then just build the Apple event using any method you find
convenient and send it. I find the easiest way is to make an AEBuild
string. I discuss the technique here:
http://cocoa.mamasam.com/COCOADEV/2002/05/2/34881.php
m.
--
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.