WD: AppleScript Core Event Suites (Not) Supported by Word

Last reviewed: February 3, 1998
Article ID: Q125584
The information in this article applies to:
  • Microsoft Word for the Macintosh, versions 6.0, 6.0.1, 6.0.1a
  • Microsoft Word 98 Macintosh Edition

SUMMARY

Microsoft Word for the Macintosh does not support the following Core Suite Events:

   Class Info
   Event Info
   Suite Info

This is by design. These Core events do not appear in the Core Suite list when you use the script editor to view the dictionary for Word.

MORE INFORMATION

Below is a brief list of the Microsoft Word AppleScript dictionary entries supported by Word. For a complete list of the suites and classes and their parameters, follow these steps:

  1. Open the AppleScript Script editor.

  2. On the File Menu, click Open Dictionary.

  3. Locate the Microsoft Word program and click Open.

Required Suite: Events That Every Program Should Support

   open:      Open the specified object(s)
   print:     Print the specified object(s)
   quit:      Quit application
   run:       Sent to an application when it is double-clicked

Core Suite: Suite That Applies to All Programs

   close:         Close an object
   count:         Return the number of elements of a particular class
                  within an object
   data size:     Return the size in bytes of an object
   delete:        Delete an element from an object
   duplicate:     Duplicate object(s)
   exists:        Verify if an object exists
   get:           Get the data for an object
   make:          Make a new element
   move:          Move object(s) to a new location
   open:          Open the specified object(s)
   print:         Print the specified object(s)
   quit:          Quit an application program
   save:          Save an object
   set:           Set an object's data

   Class application:          An application program
   Class document:             A document
   Class selection-object:     the selection visible to the user
   Class window:               A window

Miscellaneous Standards: Miscellaneous Classes

   begin transaction:     Begin a transaction
   end transaction:       End a transaction
   cut:                   Cut an object to the clipboard
   copy:                  Copy an object to the clipboard
   paste:                 Paste an object from the clipboard
   show:                  Bring an object into view
   activate:              Bring an object into view
   redo:                  Reverse the action of the immediately preceding
                          undo
   revert:                Restore the object to its last saved state
   undo:                  Undo the action of the previous event or user
                          interaction
   select:                Select object(s)
   do script:             Execute a script
   do Visual Basic:       Execute a Visual Basic script (Word 98 Macintosh
                          Edition Only)

Text Suite: A Set of Basic Classes for Text Processing

   Class character:           A character
   Class insertion point:     An insertion location between two text
                              objects
   Class line:                A line of text
   Class paragraph:           A paragraph
   Class paragraph style:     A named style of paragraph properties
   Class section:             A Section
   Class sentence:            A Sentence
   Class text:                Text
   Class text flow:           A contiguous block of text or table cells
   Class text style info:     On and Off styles of text run
   Class word:                A word

Table Suite: Classes for manipulating tables

   Class table:     A table
   Class range:     A range of table cells
   Class cell:      A table cell
   Class row:       A table row
   Class column:    A table column


Additional query words: AppleScript Apple script
Keywords : macword macword98 kb3rdparty kbmacro kbprg
Version : MACINTOSH:6.0,6.0.1,6.0.1a,98
Platform : MACINTOSH
Issue type : kbref


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 3, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.