sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #54385
[Question #689094]: how to click a button along with ctrl and shift keys in autoit and java
New question #689094 on Sikuli:
https://answers.launchpad.net/sikuli/+question/689094
hi ,
I want to click a button with unique id as :"[CLASS:TButton; INSTANCE:1]". But it should be clicked using control and shift keys. Am trying to do it as below:
// autoitObj.controlFocus("Modify Order", "", "[CLASS:TButton; INSTANCE:1]");
// autoitObj.autoItSetOption(autoitObj.OPT_SEND_KEY_DOWN_DELAY, "50");
// autoitObj.send("{SHIFTDOWN}{CTRLDOWN}",false);
autoitObj.send("{+}{^}",false);
autoitObj.controlClick("Modify Order", "", "[CLASS:TButton; INSTANCE:1]");
autoitObj.send("{SHIFTUP}{CTRLUP}",false);
// autoitObj.controlClick("Modify Order", "", "[CLASS:TButton; INSTANCE:1]");
I tried with controlSend option too. Also It cliks the button but without control and shift keys.
Can someone help, as i need this urgently. Am using autoit, java, and sikuli.
Regards,
Harpreet
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.