misc.beginTransaction

Syntax misc.beginTransaction (appID)

Params appID is a value identifying the application to which this verb is addressed. It can be a string4 containing the application signature, a binary value obtained by calling sys.browseNetwork or a string containing a valid network address.

Action Requests the application identified by appID to begin a transaction and return a unique ID to identify subsequent events in the transaction.

Returns A number to be used as the transaction ID.

Examples scratchpad.transactionID = misc.beginTransaction ("*:Quadra:MacDatabase")
» 14372

Platform Notes This verb is only implemented in the Mac OS version of Frontier.

Notes This verb is intended to be used only with applications that support the Miscellaneous Standards suite of Apple events. Typically, an application's verb table will include high-level verbs that correspond to all of the events that it supports, so

scripts should not have to call the misc verbs directly.

Messages sent as part of a transaction must use the transactionEvent verb rather than the usual appleEvent, so that the transaction ID can be specified.

See the Apple Event Registry for details on the use of this IAC verb.

See Also misc.endTransaction

transactionEvent

Discuss