Jump to content

Help with controls


Ace08
 Share

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

post-60325-0-99913300-1296109151_thumb.j

O.o Fixed it :)

ControlCommand($sWinTitle, "", "[CLASS:Button; INSTANCE:4]", "Check", "")
Edited by Ace08

Work smarter not harder.My First Posted Script: DataBase

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...