How write code to click on buttons?
One of the easiest ways to get started writing Igor code is to write something that simply clicks on Asylum buttons in a certain order. Here is how to get started with that. 1) Bring up the panel that has the button you want to click on. 2) Hit Ctrl + T to bring up the tools for the panel. 3) Click on the second button on the left that now shows. 4) Double Click on the button you want to use. 5) For buttons there are 2 things you need to get from this dialog. The Control name (First field of the control dialog), and the function the button calls (listed in the procedure popup in the control dialog). You can click on the edit button, and then copy the function’s name. For example here is the dialog for the Do Scan Button: So from this you need to get that the name is DoScan_0, and the function is DoScanFunc. Since this is a button (Checkboxes, popups, etc are all different), the function has 1 argument, and it is probably a string. OK This is where things get a little complicated. Since