GET TOOL SELECTED: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
New page: {{Command|syntax=GET_TOOL_SELECTED <tool number>, <selected> |description=*DESCRPTION* |param1=<tool number>|param1_desc={{tool number}} |param2=<selected>|param2_desc={{selected}} }} ==... |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[:Tools:Tool_Data|{{Up}}]] | |||
{{Command|syntax=GET_TOOL_SELECTED <tool number>, <selected> | {{Command|syntax=GET_TOOL_SELECTED <tool number>, <selected> | ||
|description= | |description=:Check to see if a tool us currently selected. | ||
|param1=<tool number>|param1_desc={{tool number}} | |param1=<tool number>|param1_desc={{tool number}} | ||
Line 7: | Line 9: | ||
===Example=== | ===Example=== | ||
: | :GET_TOOL_SELECTED 3, iSelected | ||
[[Category:Tools]] | [[Category:Tools]] |
Latest revision as of 23:35, 14 January 2011
Command
- GET_TOOL_SELECTED <tool number>, <selected>
- Check to see if a tool us currently selected.
Parameters
- <tool number>
- Tool number
- <selected>
- 1=selected, 0=not selected
Example
- GET_TOOL_SELECTED 3, iSelected