Type keycode not currently a sikuli constant

Asked by Andrew Aslinger

We are testing a Solaris system over VNC and need the functionality to press the Help button (solaris keyboard). It appears that the sikuli only supports typing text, or the defined constants. Is there a way to test a specific key code, to send as a command?

Question information

Language:
English Edit question
Status:
Expired
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

What key do you press, when using the VNC manually?

Type internally is bound to the standard US keyboard layout (no localisation yet).

Any possibility, to map the key via VNC to a key on your keyboard, that can be typed somehow using type()?

Revision history for this message
Andrew Aslinger (andrew-aslinger) said :
#2

We are testing a system which is running Solaris 9, and leverages the Solaris "Help" Key to perform a function. This key is currently using the keysym code "0xFF6A". I have been separately exploring the possibility to remap the key, but this would interfere with users of the system at the physical lab so we are trying to find another workaround first. That is why I was wondering if there was an function to send the underlying keycode.

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of RaiMan
Sent: Friday, November 05, 2010 12:49 PM
To: Aslinger, Andrew
Subject: EXTERNAL: Re: [Question #132741]: Type keycode not currently a sikuli constant

Your question #132741 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/132741

    Status: Open => Needs information

RaiMan requested for more information:
What key do you press, when using the VNC manually?

Type internally is bound to the standard US keyboard layout (no
localisation yet).

Any possibility, to map the key via VNC to a key on your keyboard, that
can be typed somehow using type()?

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/sikuli/+question/132741

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
RaiMan (raimund-hocke) said :
#3

Ok, understood.

To have a chance, to define and submit your own Key constants, you would have to rebuild the package from scratch with the appropriate additions made in the java code.

Another possibility would be to make your scripts in java and overwrite/add the appropriate class/method definitions.

Good luck.

Tip: post a request bug for a more flexible and customizable key board interface.

Revision history for this message
Launchpad Janitor (janitor) said :
#4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.