gmankds Posted December 31, 2010 Share Posted December 31, 2010 Hi there, AutoIT-3.3.6.1 Windows-7 professional 32 bit I am running around in circles solving the issue below. When I run this script, the "Send" command does not work, what do I overlook here? If I do the commands manually, it works fine. Your response is much appreciated. --- ;AutoIt script: win-71 sleep(500) ; Turn off System Restore: Run("Rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,4") sleep(500) WinWaitActive("System Properties") ;AutoItSetOption("SendKeyDelay", 1000) Send("!o") WinWaitActive("System Protection for") Send("{DOWN 2}") sleep(500) Send("!a") WinWaitActive("System Protection") Send("{LEFT}{ENTER}") WinWaitActive("System Protection for") Send("o") exit --- Link to comment Share on other sites More sharing options...
Mithrandir Posted December 31, 2010 Share Posted December 31, 2010 I experienced something similar some time ago and it was solved by using ControlSend instead of Send. Have you tried it? Help with SOAP message!! Link to comment Share on other sites More sharing options...
gmankds Posted January 1, 2011 Author Share Posted January 1, 2011 I experienced something similar some time ago and it was solved by using ControlSend instead of Send. Have you tried it?Thanks for the response.It was easy to resolve, RUN AUTOIT AS ADMINISTRATOR At least your response made me wiser for the alternatives, very interesting.Thanks,gmankds 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