... including URL and other Internet Web site references, is subject to change. without notice. ... does not give you any license to these patents, tr
Document source : download.microsoft.com
Microsoft Word Suite
210
Class: work menu item
Plural
work menu items
Represents a single item on the Work menu.
Use work menu item index, where index is the Work menu item name or index number, to return a
work menu item object. The following example deletes the first item from the Work menu.
delete work menu item 1
The following example displays the name of the second item on the Work menu.
if (count of work menu items) 2 then display dialog (get name of ¬
work menu item 2)
To add an item to the Work menu, use the make command. The following example adds the
document named Hello to the Work menu.
make new work menu item with properties ¬
{path:"Macintosh
HD:Users:Shared:Hello"}
Properties
document to open
Returns the document object to open for the specified work menu item. This property will
always return missing value. Read-only.
entry index
Returns a number that indicates the position of an item in a list. Read-only.
name
Returns the name of the work menu item. Read-only.
path
Returns the path to the specified work menu item object. Read-only.
Note The path doesn't include a trailing character; for example, Macintosh HD:Users:Shared.
read only
True if changes to the document cannot be saved to the original document. Read/write.
Class: zoom
Plural
zooms
Contains magnification options (for example, the zoom percentage) for a window or pane.
To return a single zoom object for a window, use the zoom property of the view object. The
following example sets the zoom percentage for the active window to 110 percent.
set percentage of zoom of view of active window to 110
Summary :
Microsoft Word Suite 210 Class: work menu item Plural work menu items Represents a single item on the Work menu. Use work menu item index, where index is the Work menu item name or index number, to return a work menu item object.
Tags :
zoom,example,name,object,document,index,following,returns,window,readonly,return,path,percentage