Question #689020 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689020

    Status: Open => Answered

Manfred Hampl proposed the following answer:
Are you sure that ALT still has to be pressed while typing "a"? Maybe
you shoudl try

         keyDown(KeyModifier.ALT)
         type("m")
         keyUp(KeyModifier.ALT)
         type("a")
         wait(3)

Eventuelly you need a small delay between "m" and "a"

         keyDown(KeyModifier.ALT)
         type("m")
         wait(0.5)
         type("a")
         keyUp(KeyModifier.ALT)

We do not know what your program does and how that is implemented. You
have to test a bit yourself.

And - by the way - "still not working" does not provide any insight to
us. What happens if you try? Does a wrong window open, or does it type
the chararcters to a wrong window, or does absolutely nothing visible on
screen, or ...?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to