[Sikuli-driver] [Question #233894]: how to save a object to a file

2013-08-12 Thread jack.cai
New question #233894 on Sikuli: https://answers.launchpad.net/sikuli/+question/233894 find(image) I find a picture in web page, then i want to save this pic to a file, but it fail p=find(Vefifjf.png) f=file(E:\\WorkPlc\\a.jpg,wb) f.write(p) f.close() TypeError: argument 1 must be string or

Re: [Sikuli-driver] [Question #233894]: how to save a object to a file

2013-08-12 Thread jack.cai
Question #233894 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233894 jack.cai posted a new comment: Thank you RaiMan. I understand your mean. in fact, above img is a input text, have a Verification Code on img's right so my code as below: p=find(Vefifjf.png) # region

Re: [Sikuli-driver] [Question #233894]: how to save a object to a file

2013-08-12 Thread jack.cai
Question #233894 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233894 Status: Answered = Solved jack.cai confirmed that the question is solved: RaiMan, thank you very much. -- You received this question notification because you are a member of Sikuli Drivers, which

Re: [Sikuli-driver] [Question #233894]: how to save a object to a file

2013-08-12 Thread jack.cai
Question #233894 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233894 jack.cai confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact