Question #142657 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/142657

DIJOUX posted a new comment:
Hello,

I've writed a typeChaine function :

def typeChaine(chr):
#    print (msg.format(chr))
    for car in chr: 
#        print(car)
        keyDown(Key.ALT)
        type(Key.NUM0)
        for num in str(ord(car)):
                #type(Key.NUMnum)
                print(num)
                if (num == "0"):
                    type(Key.NUM0)
                elif (num == "1"):
                    type(Key.NUM1) 
                elif (num == "2"):
                    type(Key.NUM2) 
                elif (num == "3"):
                    type(Key.NUM3) 
                elif (num == "4"):
                    type(Key.NUM4) 
                elif (num == "5"):
                    type(Key.NUM5) 
                elif (num == "6"):
                    type(Key.NUM6) 
                elif (num == "7"):
                    type(Key.NUM7) 
                elif (num == "8"):
                    type(Key.NUM8) 
                elif (num == "9"):
                    type(Key.NUM9) 
        keyUp(Key.ALT)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

_______________________________________________
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