← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #255660]: Cannot make Sikuli X type in Turkish language

 

Question #255660 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/255660

RaiMan proposed the following answer:
hate this poor editor here:

def yaz(metin):
    global harfler
    for cMetin in metin:
        yazilacak = harfler.get(cMetin) #returns None, if not a character in harfler
        if not yazilacak:
            type(cMetin)
        else:
            keyDown(Key.ALT)
            type(Key.NUM+yazilacak[0])
            type(Key.NUM+yazilacak[1])
            type(Key.NUM+yazilacak[2])
            type(Key.NUM+yazilacak[3])
            keyUp()

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