New question #172411 on Sikuli:
https://answers.launchpad.net/sikuli/+question/172411

I am trying to invoke the browse dialog in Finder using MAC short cut 
cmd+shift+g
I tried the following without success:

What is the java equivalent of  :
type("g", KEY_CMD|KEY_SHIFT)

I tried :
                Robot Keyboard1 = new Robot();
                
                Keyboard1.keyPress(KeyEvent.VK_META);
                Keyboard1.keyPress(KeyEvent.VK_SHIFT);
                Keyboard1.keyPress(KeyEvent.VK_G);
                
                Keyboard1.keyRelease(KeyEvent.VK_META);
                Keyboard1.keyRelease(KeyEvent.VK_SHIFT);
                Keyboard1.keyRelease(KeyEvent.VK_G);

is it possible to use the type function in sikuli.script.jar?

Thanks,
Rakesh

                

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to