Previous Book Contents Book Index Next

Inside Macintosh: AppleScript Language Guide / Part 3 - Appendixes
Appendix B - Scriptable Text Editor Dictionary / Scriptable Text Editor Commands


Duplicate

The standard Duplicate command is defined on page 98. The Scriptable Text Editor version of the Duplicate command behaves like the standard version
of the command, except the direct parameter cannot be a list; it must be a reference to a single object. For example, the following statement results in
an error:

tell document "Intro" of app "Scriptable Text Editor"
   duplicate words whose style contains bold to beginning
end
--result: error; Duplicate can handle single objects only

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996