Question #263112 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/263112
Description changed to:
Hi,
I am trying to select + copy all text from a command prompt window.
If I use rightclick command then it returns some previously used text.
[1] My code is:
type (Key.ESC, KEY_CTRL)
paste (r"some text") # this will open a command prompt
wait(1)
rightClick("image1.png")
[2]Note:
I have tried:
- rightClick with at mouse point --> same behaviour (i.e "some text" is
displayed)
- using "type" instead of "paste" --> same behaviour (i.e "some text" is
displayed)
- If i right click manually --> same behaviour (i.e "some text" is displayed)
- type ALT + SPACE to open caption right menu - but the context menu is not
displayed at all
In progress:
- clear clipboard via sikuli OR via python.
If you get the chance, please tell me what I am missing out.
take care
--
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 : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp