You can run the Data Reader tools from script and program the PointProc macro to do whatever you want.
This example copies selected X and Y points to Book3, Sheet2, columns A and B:
dotool 3; def pointproc { range rax2 = [Book3]Sheet2!A; range ray2 = [Book3]Sheet2!B; nextrow = rax2.GetSize() + 1; rax2[nextrow] = x; // x = current x of tool ray2[nextrow] = y; // y = current y of tool }
The PointProc macro executes whenever you double-click a point or select a point and press the Enter key. Press Esc to exit the tool.
|