ClintCote Posted June 25, 2015 Posted June 25, 2015 I have an application called CheckPoint and I am trying to automate some repetitive tasks. I have the program and the AutoIT Window Info both open. I am having trouble automating the controls in the application. Initially I want to just LMB Click the Find button. Attached is a snapshot of the Window Info. I have tried several ways to click the find button:WinActivate("CheckPoint")Sleep(250);ControlFocus("CheckPoint", "", "Find Item");ControlClick("CheckPoint", "", "Button4");ControlClick("CheckPoint", "", "[ID:1028]");ControlClick("CheckPoint", "", "[CLASS:Button; TEXT:Find; INSTANCE:4]");ControlClick("CheckPoint", "", 1028)I have been commenting out each line item after it has been tried and failed, so all of these are shown commented out. Any idea how I can get this to work? I have a ton of repetitive tasks that would be an enormous time saver if I could automate this application.Thanks,Clint
MikahS Posted June 25, 2015 Posted June 25, 2015 Put #RequireAdmin at the top, as this program might require Administrative credentials to be automated. MuffinMan 1 Snips & Scripts Reveal hidden contents My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ
l3ill Posted June 27, 2015 Posted June 27, 2015 You could also call the keyboard shortcut via script: usually {CTRL + F} or similar... My Contributions... Reveal hidden contents SnippetBrowser NewSciTE PathFinder Text File Manipulation FTP Connection Tester / INI File - Read, Write, Save & Load Example
ClintCote Posted June 29, 2015 Author Posted June 29, 2015 #RequireAdmin did the trick. I'm on my way now! Thanks
MikahS Posted June 29, 2015 Posted June 29, 2015 My pleasure @ClintCote. Snips & Scripts Reveal hidden contents My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ
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