I am trying to set directory value within WinZip's unzip function/action by using ControlSend(...) on ToolbarWindows32 control. However, the control erfuses to receive any text. Other things like sending clicks seems to work on this control.
Please help! See my code snippet below for reference.
Thanks.
Umesh
-------------------------
ControlClick("Unzip", "", "[CLASS:ToolbarWindow32; INSTANCE:2]", "right") ;Right click inside control to invoke "Edit Address" option
Sleep(250)
ControlSend("Unzip", "", "[CLASS:ToolbarWindow32; INSTANCE:2]", "e"); Choose "Edit Address" option
Sleep(250)
ControlSend("Unzip", "", "[CLASS:ToolbarWindow32; INSTANCE:2]", "{DEL}") ; Delete currently selected directory -- THIS DOESN'T WORK
Sleep(250)
ControlSend("Unzip", "", "[CLASS:ToolbarWindow32; INSTANCE:2]", $UnzipDir & "{ENTER}") ; Enter New Directory Value String -- THIS DOESN'T WORK
Sleep(250)
ControlClick("Unzip", "", "[CLASS:Button; INSTANCE:4]", "left") ; Click on Unzip button
WinWaitActive("Decrypt", "") ;Wait until password prompt
Sleep(200)
ControlSend("Decrypt", "", "[CLASS:Edit; INSTANCE:1]", "password") ; Don't hit ok yet
--------------------------