Error getting tags :
error 404Error getting tags :
error 404 tool | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
tool
Basics
Expander triangle
Type
Function
Syntax
the tool tool()
See Also
Introduced
1.0
Environment
Desktop,Web
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Returns the name of the currently chosen tool.
Examples

the tool
if the tool is not "browse tool" then choose browse tool

Additional Comments
Expander triangle

Use the tool function to find out which tool is currently selected.

Value:

The tool function returns one of the following tool names:

browse, pointer, button, field, scrollbar, graphic, image, player, select, pencil, bucket, brush, eraser, spray can, rectangle, line, round rect, oval, polygon, curve, regular polygon, dropper

followed by the word "tool".

Comments:

The tool names are the same as the names used with the choose command to select a tool for use.

User Comments
Expander triangle