Just a little add onto this thread:
' append to file = C:\Mach3\macros\toolinfo.txt
N = GetToolDesc(1)
D = GetToolParam(1,1)
L = GetToolParam(1,2)
textFilePath = "C:\mach3\macros\toolinfo.txt"
Const ForAppending = 8
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objTextFile = objFSO.opentextfile(textFilePath,ForAppending)
objTextFile.WriteLine("Tool1: " & N &" Diameter: "& DÂ &" Length: " & L)
objTextFile.Close
'End
'Now to learn how to scroll through the tool table (until there are no more descriptions) and overwrite the text file.
'Put it all in a button and I can "export" the info.
'I'm just wanting a tool information cheat sheet to take back to my desk while I fiddle with the CAM.
'All suggestions graciously accepted.