ClintCote Posted June 25, 2015 Share 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 Link to comment Share on other sites More sharing options...
MikahS Posted June 25, 2015 Share Posted June 25, 2015 Put #RequireAdmin at the top, as this program might require Administrative credentials to be automated. MuffinMan 1 Snips & Scripts 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 Link to comment Share on other sites More sharing options...
l3ill Posted June 27, 2015 Share Posted June 27, 2015 You could also call the keyboard shortcut via script: usually {CTRL + F} or similar... My Contributions... SnippetBrowser NewSciTE PathFinder Text File Manipulation FTP Connection Tester / INI File - Read, Write, Save & Load Example Link to comment Share on other sites More sharing options...
ClintCote Posted June 29, 2015 Author Share Posted June 29, 2015 #RequireAdmin did the trick. I'm on my way now! Thanks Link to comment Share on other sites More sharing options...
MikahS Posted June 29, 2015 Share Posted June 29, 2015 My pleasure @ClintCote. Snips & Scripts 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 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