← Back to team overview

sikuli-driver team mailing list archive

[Question #225794]: Unexpected results for script that should select text with keyModifier

 

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

In the answered question at

https://answers.launchpad.net/sikuli/+question/202624

I found the exact sequence that I wanted run in my script (CTRL + SHIFT + END)

But regardless the combination of, or variant of, all the answers provided the expected behavior (selecting all text within the application Notepad from the cursor to the end of the document) does not happen.

All I get is the cursor moving to the end of the document but I get no highlighting/selecting of the text that's been traversed by the key strokes.

Now the log is showing some odd stuff, and this is as far as I could figure things out, the log for the action described in the following script—

type (Key.END, KeyModifier.SHIFT | KEY_CTRL )

returns—

[log] Ctrl+Shift+TYPE ""

It returns the same square thing when I try to do—

type (Key.UP)

in such case the log returned is—

[log] TYPE ""

Do I have some settings out of whack?

What am I doing wrong that's causing it to be unable to register the key constants?

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