← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #680777]: [1.1.4]How to print Key.ENTER name?

 

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

    Status: Needs information => Open

Linda gave more information on the question:
I def a function:
def RecordLog(KEY):
    type(KEY)
   os.system(r'echo' +  type.__name__ + str(KEY) + r'>>' + Log)

But the result is not name.

For example:
Refer to :https://inventeccorp-my.sharepoint.com/:i:/g/personal/huang_linda_inventec_com/EbslPjdskOBMpgjWaCXhoX0BpWxiYuidYCemfBXDmyEXEw?e=PW76Wq

The result of print(Key.ENTER) is not ENTER but a blank.

Then try Key.DELETE: https://inventeccorp-
my.sharepoint.com/:i:/g/personal/huang_linda_inventec_com/EfuTHlINS75EkrZQmfIcfMABJwgnkAKsxd1F0pkOIn_YrA?e=Nd3fEb

How to print their name to log ?

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