Unable to type email adresse with special caracter (@) - French Keyboard

Asked by Srinivasulu on 2017-11-10

Hello,

I'm not able to type the email adress @ symbol with my sikuli script. I should type an email adress into a field where I can't use paste command. I tried many ways but not succeded. It will be very greatfull if there is any key combination to type @ symbol in French keyboard.

Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
Srinivasulu
Solved:
2017-11-13
Last query:
2017-11-13
Last reply:
2017-11-13
RaiMan (raimund-hocke) said : #1

use paste() (see faq 933)

Srinivasulu (srinusaf1) said : #2

Hello RaiMan,

I can't use pase() in that field. Otherwise, it will be very easy.

RaiMan (raimund-hocke) said : #3

if it is Windows, then you can use the alt + n1 + n2 + n3 to enter any character with n1 - n3 the correct digits on the numpad to form the decimal code for the character according o the ascii list.

Srinivasulu (srinusaf1) said : #4

RaiMan, thanks for your quick answer. I tried the alt + n1 combination from the decimal code for @. Normally, I need to enter dec 64 to get @ symbol. When I do that I'm getting the characters for 6 and 4 indivually, but not getting the charecter for 64.

Here is the code:

Scenario 1:

type(Key.NUM6 + Key.NUM4, KeyModifier.ALT)

Output: ♠♦

Scenario 2:

type(KeyModifier.ALT, Key.NUM6 + Key.NUM4)

Output: 64

Manfred Hampl (m-hampl) said : #5

Try

keyDown (KEY.ALT)
type (Key.NUM0)
type (Key.NUM6)
type (Key.NUM4)
keyUp (KEY.ALT)

Srinivasulu (srinusaf1) said : #6

@ Manfred Hampl, Its working for me.

keyDown (Key.ALT)
type (Key.NUM0)
type (Key.NUM6)
type (Key.NUM4)
keyUp (Key.ALT)

Thank you so much for your kind support.