Edit this file and then press "Reload" on the dialog to see the results The functions you can call are: run(command) - runs another program user(text) - shows a message box reload - reloads the dialog close - closes the dialog setFocus(id) - sets focus to the control with the given id getText(id) - retrieves the text from a control You can also define your own methods inside this file that you can call. setFocus(1); user("You typed " # getText(1)); close(); user("You cancelled the dialog!"); close(); run("notepad demo.xml");