[Sikuli-driver] [Question #446246]: sikuli import function doesn't work

2017-01-23 Thread Coco.Liu
New question #446246 on Sikuli: https://answers.launchpad.net/sikuli/+question/446246 I have two scripts in the same folder. #content of script2 from sikuli import * def mypopup(): popup("hello, I am script2") #content of script1 import script2 script2.mypopup() but after run script1, I

[Sikuli-driver] [Question #446244]: java.lang.NoClassDefFoundError: org/sikuli/script/Screen when calling

2017-01-23 Thread chan guou jiun
New question #446244 on Sikuli: https://answers.launchpad.net/sikuli/+question/446244 Microsoft Windows [Version 10.0.14393] (c) 2016 Microsoft Corporation. All rights reserved. C:\WINDOWS\system32>java -jar C:\Users\User\Desktop\sikulix\sikulix.jar -r

Re: [Sikuli-driver] [Question #446242]: Sikuli cannot run if I add a def()

2017-01-23 Thread Coco.Liu
Question #446242 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/446242 Description changed to: I tried a script, # content of script1.sikuli popup("hello, I am script1") in this way, message can be shown. but if I add a def(), like this: # content of script1.sikuli def

Re: [Sikuli-driver] [Question #446242]: Sikuli cannot run if I add a def()

2017-01-23 Thread Coco.Liu
Question #446242 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/446242 Description changed to: I tried a script, # content of script1.sikuli popup("hello, I am script1") in this way, message can be shown. but if I add a def(), like this: # content of script1.sikuli def

Re: [Sikuli-driver] [Question #446242]: Sikuli cannot run if I add a def()

2017-01-23 Thread Coco.Liu
Question #446242 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/446242 Description changed to: I tried a script, # content of script1.sikuli popup("hello, I am script1") in this way, message can be shown. but if I add a def(), like this: # content of script1.sikuli def

[Sikuli-driver] [Question #446189]: Dynamic variable name/function name

2017-01-23 Thread Itzik Gar
New question #446189 on Sikuli: https://answers.launchpad.net/sikuli/+question/446189 Hi, Can you please advise if it is possible to create function name with dynamic name? for example, I would like to create a loop that clicks 1-9 on calculation, for each click I created a function and I

[Sikuli-driver] [Question #446002]: Recognizing similar strings in the same region

2017-01-23 Thread Alexandre Miziara
New question #446002 on Sikuli: https://answers.launchpad.net/sikuli/+question/446002 Hello, I am trying to deal with a problem when there are two similar strings in the same region, with some modifications only. For example: 1. string-testing-example-disable 2. string-test1-word-enable 3.