Futurebasic/Language/Reference/sendappleevent

SENDAPPLEEVENT edit

Syntax edit

SENDAPPLEEVENT eventtype&,eventClass&,dataAddress&
<spacer type="horizontal" size="48">dataSize&,processName$

Revised edit

June, 2001 (Release 5)

Description edit

This statement is used in conjunction with other Apple Event commands available starting with Release 5. It allows you to send information of any size to another process. The parameters include the standard event type and class. (See ON APPLEEVENT for details about these parameters.) The dataAddress& specifies where the Apple Event Manager will find the data and the dataSize& variable tells the length of that data.

The processName$ parameter may be a null string (to send the information to all running processes) or it may be a specific process name. (See GETPROCESSINFO for an example of how to build a list of running processes.)

See Also edit

HANDLEEVENTS; ON APPLEEVENT; GETPROCESSINFO; KILL APPLEEVENT; APPLEEVENTMESSAGE$