Ace08 Posted January 27, 2011 Share Posted January 27, 2011 (edited) I am trying to see if i can automate a file being encrypted thru winzip but im kindda stuck with the encryption process here is the part of the code i am having trouble with Global $sWinTitle = "Encrypt" WinActivate($sWinTitle) ControlSend($sWinTitle, "", "[CLASS:Edit; INSTANCE:1]", "Password") ControlSend($sWinTitle, "", "[CLASS:Edit; INSTANCE:2]", "Password") ControlClick($sWinTitle,"", "[CLASS:Radio; TEXT:128-Bit AES (Strong)") ;-ControlClick($sWinTitle,"", "[CLASS:Radio; INSTANCE:2") the problem is that i can't get the script to click or choose the 2nd radio button which is "128-Bit AES (Strong)" just for reference here is the window from winzip O.o Fixed it ControlCommand($sWinTitle, "", "[CLASS:Button; INSTANCE:4]", "Check", "") Edited January 27, 2011 by Ace08 Work smarter not harder.My First Posted Script: DataBase 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