start("Notepad") write("Hello World!") click("File", "Save") click("New folder") # Or "Create new folder" on XP # Enter folder name: write("Automa test") press(ENTER) # Change folder name: rightclick("Automa test", select="Properties") write("Automa examples", into="Folder name") click("OK") doubleclick("Automa examples") write("Notepad example.txt", into="File name") click("Save") click("File", "Exit")