core.duplicate

Syntax core.duplicate (appID, obj, where)

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.

obj is the specification of the objects to be duplicated.

where indicates the location at which the new objects should be created. (See Notes.)

Action Instructs the application identified by appID to duplicate the objects specified by obj.

Returns An object specifier for the new object. If obj specifies more than one object, returns a binary value containing a list of object specifiers, one for each object duplicated.

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

Notes This is a low-level verb intended to be used only with applications that support the Core 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 core verbs directly.

The value for the where parameter should be obtained by calling one of the following objectModel verbs: beginningOf, endOf, before, after, or replace.

See Also objectModel.after

objectModel.before

objectModel.beginningOf

objectModel.endOf

objectModel.replace

getAppleListItem

Discuss