bevtech Posted October 15, 2007 Share Posted October 15, 2007 I am just learning to script so bear with me;) I am having an issue with control click I am sure I am doing something stupid Run("7z442.exe") ; First window of installation WinActivate ("7-zip 4.42 Setup");Need to set focus on the active window ControlClick("7-zip 4.42 Setup", "", "[ID:1]"); Left click on the install button ;ControlClick("7-zip 4.42 Setup", "", "[CLASS:Button; TEXT:Install; INSTANCE:2]"); Left click on the install button Do i have to specify with mouse button or add a parameter somewhere? Please give me a correct example so i can understand how this command functions Thank you for your time.. Link to comment Share on other sites More sharing options...
Uten Posted October 16, 2007 Share Posted October 16, 2007 Don't the 7-zip installer have a quiet mode? Take a look in the autoit folder and see if you find a fodler called ScriptWriter or a tool called au3record.exe or scriptwriter.exe Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling 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