scripting with no dictionary

Hi,

I have two applications that talk via private apple events. They send and receive my apple events just fine. Now I would like to control them via external scripts. But I don’t want to make the events public. So I do not want to have a dictionary. I need a private AppleScript API.

How can I script these private apple events without a dictionary? I know the Class/ID pairs, since they are my apps. I think what I want is a raw apple event script object, where I just provide the class and ID.

Is this possible? Am I approaching this correctly?

Thanks,
Tracy

http://developer.apple.com/documentation/AppleScript/Conceptual/AppleScriptLangGuide/AppleScript.5f.html

Example:

«event EvntCode» directParam given «class LPr1»:labeledParam1, «class LPr2»:labeledParam2

Thanks! Works fine.

More pertinent info to have it here in the thread.
http://developer.apple.com/documentation/AppleScript/Conceptual/AppleScriptLangGuide/AppleScript.63.html

Quoting from that page:
The term «event sysodlog» is actually the raw form for an Apple event with event class ‘syso’ and event ID ‘dlog’ . You can use raw syntax to enter and execute events (even complex events with numerous parameters) when there is no dictionary to support them.