Jump to content
Sign in to follow this  

Help with controls

Recommended Posts


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"
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 by Ace08

Work smarter not harder.My First Posted Script: DataBase

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.