Re: [Sikuli-driver] [Question #253057]: Send random text everytime on chat screen

2014-08-14 Thread Harry
Question #253057 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/253057 Status: Needs information = Open Harry gave more information on the question: Yes it is generating every time the same string as the string is stored in chatmsg1 and chatmsg2 whenever i call chat1 and

Re: [Sikuli-driver] [Question #253057]: Send random text everytime on chat screen

2014-08-14 Thread Eugene S
Question #253057 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/253057 Status: Open = Answered Eugene S proposed the following answer: So why won't you pass a new ''.join(random.sample(string.letters, num1)) to your function every time rather than saving it in a variable?

Re: [Sikuli-driver] [Question #253057]: Send random text everytime on chat screen

2014-08-14 Thread Harry
Question #253057 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/253057 Status: Answered = Solved Harry confirmed that the question is solved: Yes i did that and now it seems to be generating random string -- You received this question notification because you are a

[Sikuli-driver] [Question #253057]: Send random text everytime on chat screen

2014-08-13 Thread Harry
New question #253057 on Sikuli: https://answers.launchpad.net/sikuli/+question/253057 class chatting: def chat1(self,chatmsg1): if exists(person1.png): type(chatmsg1) else: click(person1.png) while not exists(person1.png,0):

Re: [Sikuli-driver] [Question #253057]: Send random text everytime on chat screen

2014-08-13 Thread Eugene S
Question #253057 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/253057 Status: Open = Needs information Eugene S requested more information: HI, I'm not sure where exactly your problem is. I can see that your chatmsg1 and chatmsg2 are definitely creating a random string