GetTool()

Summary

Gets the name of the active tool item.

Syntax

tool_name = GetTool()

Returns

The name of the active tool item, or null if none is active.

Example

tool_name = GetTool()
if tool_name <> "my edit tool" then SetTool("my edit tool")

See Also

Function Summary
SetTool() Sets the active tool item