Mail to EE

EETransfer Off-line documentation

Back to summary
Updated 97/06/24 SendRaw

Send a file using no protocol.

Example of Script that sends all OutBox files that are ready:



globals: {

	endpoint: nil,	// Set by the ConnectXXX instruction

	ioBoxItem: nil,	// Set by the ForEachReadyItem instruction

	transport: nil,	// Set by EETransfer at the script startup

	...

	},



instruction: [

		...

		{

			toolSymbol: 'ForEachReadyItem,

			instruction: {

					toolSymbol: 'SendRaw,

				},

		},

		...

	]

Example of Script that sends all OutBox files that are selected:



globals: {

	endpoint: nil,	// Set by the ConnectXXX instruction

	ioBoxItem: nil,	// Set by the ForEachItemRequest instruction

	transport: nil,	// Set by EETransfer at the script startup

	...

	},



instruction: [

		...

		{

			toolSymbol: 'ForEachItemRequest,

			instruction: {

					toolSymbol: 'SendRaw,

				},

		},

		...

	]



* charset
type: symbol
possible values: defined in the file "EERecodeConstants.f"
default value: kMacOSCharset ('mac)
Defines which characters set is used for the file and the file name.
This information is used to convert the file.

* ioBoxItem
type: ioBox item
default value: nil
OutBox item to send.

* transport
type: frame
default value: nil

The transport must always be EETransfer.

Note: Before the script executes itself, the global variable "transport" is automatically set to EETransfer. So if you don't use a slot "globalSymbols" you don't have to (and you should not) provide a slot "transport". Otherwise, the "globalSymbols" slot must contain a slot:
transport: 'transport,
©1997 Easter-eggs
All trademarks mentioned are the property of their respective owners