Microsoft Word Suite
288
Command: key string
Returns the key combination string for the specified keys (for example, CTRL+SHIFT+A).
Syntax
key string
key code integer Required. A key code you specify by using the build key code command to
create the key code object.
[key_code_2 enumeration] Optional. A second key you specify by using one of the constants.
Example
This example displays the key combination string (CTRL+SHIFT+A) for the following constants:
control_key, shift_key, and a_key.
set customization context to attached template of active document
display dialog (key string key code (build key code key1 control_key ¬
key2 shift_key key3 a_key))
Command: large scroll
Scrolls a window or pane by the specified number of screens. This command is equivalent to
clicking just before or just after the scroll boxes on the horizontal and vertical scroll bars.
Syntax
large scroll window/pane Required. An expression that returns a pane or window object.
[down integer] Optional. The number of screens to scroll the window down.
[up integer] Optional. The number of screens to scroll the window up.
[to right integer] Optional. The number of screens to scroll the window to the right.
[to left integer] Optional. The number of screens to scroll the window to the left.
Remarks
If down and up are both specified, the window is scrolled by the difference of the arguments. For
example, if down is 2 and up is 4, the window is scrolled up two screens. Similarly, if to left and to
right are both specified, the window is scrolled by the difference of the arguments.
Any of these arguments can be a negative number. If no arguments are specified, the window is
scrolled down one screen.
Example
This example scrolls the active window down one screen.
large scroll active window down 1
This example splits the active window and then scrolls up two screens and to the right one screen.
set split window of active window to true
large scroll active window up 2 to right 1