Retrieves information about used tools inside the current job and stores that information in a variable.
GetToolInfo <num | first | next> <variable number>
GetToolInfo num 200 will store the number of used tools in the current job in variable #200 GetToolInfo first 201 will store the first tool number in variable#201 GetToolInfo next 201 will store the next tool number in variable#201
; Enumerate tools used in a job. ; As an example, this can be used to measure the length of all tools at once before running the job. sub measure_used_tools GetToolInfo num 5025 ; Msg "number of tools used = " #5025 GetToolInfo first 5025 while [#5025 <> -1] gosub m_tool_no_dlg ; Subroutine that measures tools msg "Tool "#5025" is measured" GetToolInfo next 5025 endwhile endsub