Entering special characters in Sikuli

Asked by Sagar.Biradar

Hi all,

Can anyone tell me how to enter special characters(such as @,%,&,*) in sikuli?

Question information

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

look faq 933

Revision history for this message
Sagar.Biradar (sagarnbiradar) said :
#2

Thanks for the reply but I want to enter '@' symbol.How can i enter?Because by using 'type()' to enter '@' special character,doesn't work

Revision history for this message
Sagar.Biradar (sagarnbiradar) said :
#3

If you got any examples on this,kindly post them.Thanks again.

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

Looking at faq 933 would have told you, that the recommendation is, to use paste() for text containing special characters and type() only for functional keys.

Too complicated???

Revision history for this message
Sagar.Biradar (sagarnbiradar) said :
#5

Not complicated , but i tried using paste() for '@' special character,but its not working

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

This should work on any Windows:

App.open("notepad.exe") # opens a new notepad window
wait(3) # wait for notepad to be ready
paste("<email address hidden>")
wait(3) # that you can see, what happens

Revision history for this message
Sagar.Biradar (sagarnbiradar) said :
#7

okay.Thanks for your reply Rai.Will get back to you if i find any problem again while executing the script

Can you help with this problem?

Provide an answer of your own, or ask Sagar.Biradar for more information if necessary.

To post a message you must log in.