Question #670783 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/670783
Status: Answered => Open Max is still having a problem: I'm running Sikulix 1.1.0 on Windows 7 64bit, Java Version 8, Update 152. Here is my code snippet with some comments: ########################################### type("c",KEY_CTRL) # copy selected mail subject field mail = Env.getClipboard() mail = mail.encode('utf-8', 'ignore').decode('utf-8') mail = mail.split("\n") # split table titles line and subject/sender mail = mail[1] # set var mail to the subject/sender string mail = mail.split("\t") # split into sender and subject sender = "sender unknown" sender = mail[0] #sender name sender = sender.encode('utf-8', 'ignore').decode('utf-8') mailtext = "no text" mailtext = mail[1] # subject text mailtext = mailtext.encode('utf-8', 'ignore').decode('utf-8') #switch to textbox (ticket application) paste("Here is some text from "+sender+": "+mailtext) ########################################### Thank you for your help -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp