fmlk Posted August 2, 2011 Share Posted August 2, 2011 Hello, As plain newbee a colleague pointed me to AutoIt and enthusiastically I started to dig into it. I tried the following example script: ;This is my first script ;F. Mellink ;20110802 MsgBox(0, "Step 1", "Start Notepad") Run("notepad.exe") WinWaitActive("Untitled - Notepad") MsgBox(0, "Step 2", "Add some text") Send("AutoIT is easy and powerful.") Send("It is user friendly and can be integrated in shell applications") MsgBox(0, "Step 3", "Close Notepad") WinClose("Untitled - Notepad") MsgBox(0, "Step 4", "acknowledge") WinWaitActive("Notepad", "Do you want to save") Send("!n") However the last Send command doesn't close Notepad as it is supposed to do. I run AutoIt in Win7-64bit. Maybe that is the problem? Who can help me out? Link to comment Share on other sites More sharing options...
somdcomputerguy Posted August 2, 2011 Share Posted August 2, 2011 See this post, - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now