SetToolMode System Command

SETTOOLMODE System Commands

Sets the toolbox mode.

settoolmode [WINDOW name]
LASSOTOOL

tool/k The tool to select.

Options: OBJECT | RESHAPE | CROP | MAGNIFY | TEXT | EYEDROPPER | COLUMN | LINE | BOX | RBOX | ELLIPSE | ARC | PEN | FREEHAND | GRID | ROUTETEXT.

LASTUSED Sets the last set tool.

PREVIOUS Sets the previous tool in the toolbox; left to right or top to bottom order.

NEXT Sets the next tool in the toolbox; left to right or top to bottom order.

WINDOW/s The window name. Default=current.

Notes:

You do not have to set the toolbox mode in order to draw an object with a script command. This command is only used when you wish to set the interface's toolbox mode.

Examples:

settoolmode text window 'Untitled 1~View.1'

settoolmode lastused

 

SetToolMode  Command Definition  url:PGScmd/settoolmode
  created:2006-03-31 10:53:00   last updated:2006-03-31 10:53:00
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SetToolMode
Dan Kilroy wrote...2006-05-04 17:19:58

Script command submitted from PageStream internal documentation. Needs to be checked and merged with the command documentation above.

Gets the {...} .

SetToolMode (<LASTUSED|PREVIOUS|NEXT|OBJECT|RESHAPE|CROP|TEXT|MAGNIFY|EYEDROPPER| |COLUMN|LINE|BOX|RBOX|ELLIPSE|ARC|POLYGON|PEN|FREEHAND|GRID|ROUTETEXT> ROTATE SBOX|BBOX|IBOX PIE STAR|SCALLOP|PUFFY|WAVY PGS40: LASSO PGS41: TABLE [WINDOW document-window])

Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For SetToolMode