Jump to content

Futurebasic/Language/Reference/sendappleevent

From Wikibooks, open books for an open world

SENDAPPLEEVENT

[edit | edit source]

Syntax

[edit | edit source]

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

Revised

[edit | edit source]

June, 2001 (Release 5)

Description

[edit | edit source]

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 | edit source]

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