asdfxyz13 Posted March 13, 2017 Posted March 13, 2017 hello any Ones I'm newbie autoIT, please help me click button Run Cleaner 1). I use Imange Search $a = _ImageSearch("cclean.bmp","Piriform CCleaner - Professional Edition") _ArrayDisplay($a) But _ArrayDisplay($a) return 0 -->can't found image --> can't click button Run Cleaner 2). I use MouseClick WinActivate("Piriform CCleaner - Professional Edition","") MouseClick('left',1281, 536) Sleep(1000) --> mouse move right this button but not click button Run Cleaner thanks a lot!
Moderators JLogan3o13 Posted March 13, 2017 Moderators Posted March 13, 2017 Why not use the supported command line method, creating an .ini with your saved preferences and the running the executable against that? https://www.piriform.com/docs/ccleaner/advanced-usage/command-line-parameters Would save you from having to automate the GUI "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
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