Re: [Sikuli-driver] [Question #689020]: Checking shortcut keys for opening a tool window

2020-03-02 Thread Manfred Hampl
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #689020]: Checking shortcut keys for opening a tool window

2020-03-02 Thread Sreelekshmi
Question #689020 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689020

Status: Solved => Open

Sreelekshmi is still having a problem:
 hover(AddChassis)
keyDown(KeyModifier.ALT)
type("ma")
keyUp(KeyModifier.ALT)
wait(3)
assert search(AddChassisWindow),"AddChassisWindow is not found"

still not working , not sure . I am using 1.1.4 version

-- 
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #689020]: Checking shortcut keys for opening a tool window

2020-03-02 Thread Sreelekshmi
Question #689020 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689020

Status: Answered => Solved

Sreelekshmi confirmed that the question is solved:
 hover(AddChassis)
keyDown(KeyModifier.ALT)
type("ma")
keyUp(KeyModifier.ALT)
wait(3)
assert search(AddChassisWindow),"AddChassisWindow is not found"
still not working , not sure . I am using 1.1.4 version

-- 
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #689020]: Checking shortcut keys for opening a tool window

2020-02-27 Thread RaiMan
Question #689020 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689020

Status: Open => Answered

RaiMan proposed the following answer:
Key.CAPS_LOCK cannot be "typed"

 type(Key.ALT+"m"+"a")
is not valid either

 type("ma", Key.ALT)

or even

 keyDown(Key.ALT)
 type("ma")
KeyUp()

If you wanted uppercase m and a:

 keyDown(Key.ALT)
 type("MA")
 KeyUp()

-- 
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #689020]: Checking shortcut keys for opening a tool window

2020-02-27 Thread Sreelekshmi
New question #689020 on Sikuli:
https://answers.launchpad.net/sikuli/+question/689020

def shortcut():
type(Key.CAPS_LOCK)
type(Key.ALT+"m"+"a")
wait(5)
if exists(ToolWindow):
print("shortcutkeys are working")
return True
else:
return False

Can someone please help why its not working in Sikuli1.1.4

-- 
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp