How to use keys like .,<> space;'[} when entering commands to my application

Asked by Bijuak

I want to send Keys like . , < > space ; ' [ ] \ etc as commands when running my application.

"Key.}" or type(Key.}) is not helping me. Please suggest me an alternative.

 Appreciate your help.

Thanks,
Biju

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Tsung-Hsiang Chang
Solved:
Last query:
Last reply:
Revision history for this message
Best Tsung-Hsiang Chang (vgod) said :
#1

type("{}<>") should work.

Revision history for this message
Bijuak (bijugavu) said :
#2

Nope this did not solve my question.

I am trying to use these keys just like how we use the ENTER key or F1 key etc.

I want to use like "Key.ENTER" , will I be able to use "Key.>"

Please suggest.

Revision history for this message
Tsung-Hsiang Chang (vgod) said :
#3

I don't understand what you are trying to do. type("{") does simulate a user to hit "{" (actually SHIFT+[) on the keyboard. There is no difference between this and type Key.ENTER.

Revision history for this message
Bijuak (bijugavu) said :
#4

Thanks Tsung-Hsiang Chang, that solved my question.