MouseGrid

Opens or resizes MouseGrid, a utility for positioning the mouse pointer.

Syntax

MouseGrid [state[, gridbox]]

Argument Description
state A value indicating whether MouseGrid is sized relative to the screen or the active window.
  1 (default) Open MouseGrid relative to the screen or resize an open MouseGrid. If no gridbox value is specified, restore MouseGrid it to its previous size or to fit the screen.
  2 Open MouseGrid relative to the active window or resize an open MouseGrid. If no gridbox value is specified, restore MouseGrid it to its previous size or to fit the screen.
  0 Turn MouseGrid off (or leave it off).
gridbox A value indicating the numbered area of the screen, window, or open MouseGrid to which MouseGrid is to be sized, as follows: (The value 0 undoes the last MouseGrid action.)
  1   2   3
  4   5   6
  7   8   9

Example

This example opens or resizes MouseGrid to fit in the upper-left corner of the active window.

MouseGrid 2,1

Note

If MouseGrid reaches a point in which it would become unreadable if further resized, it moves, rather than resizes to, the specified gridbox value.