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.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to