Toppy Posted August 11, 2006 Share Posted August 11, 2006 Hi, I have the following script, but it doen't execute the ControlClick function. Can anyone tell me what could be the problem please? Here's the script If FileExists("C:\Program Files\a-squared Free\a2free.exe") Then TrayTip ( "a2 Free", "Updating a2 Free", 3 , 1 ) If ProcessExists("a2free.exe") Then WinActivate ( "a-squared Free" ) Else Run ( "C:\Program Files\a-squared Free\a2free.exe" , "C:\Program Files\a-squared Free\" ) WinWaitActive("a-squared Free") EndIf ControlClick("a-squared Free","Update now", "TTntButton.UnicodeClass1" ) ProcessWaitClose("a2free.exe") EndIf Exit Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted August 11, 2006 Moderators Share Posted August 11, 2006 What kind of app makes TTntButton (What language was it written in)? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Toppy Posted August 11, 2006 Author Share Posted August 11, 2006 (edited) What kind of app makes TTntButton (What language was it written in)?The app is A-Squared Free A-Squared FreeI have no idea about the language its written in. EDIT : Duh! Found it, I hadControlClick("a-squared Free","update Now", 'TTntButton.UnicodeClass1' ) Edited August 11, 2006 by Toppy Link to comment Share on other sites More sharing options...
GaryFrost Posted August 11, 2006 Share Posted August 11, 2006 The app is A-Quared Free <a href="http://www.emsisoft.com/en/software/free/" target="_blank"></a>I have no idea about the language its written in. My guess is it's not a standard Microsoft control, therefore you'll have to figure out another way of doing what you want. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. 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