Re: [Sikuli-driver] [Question #689036]: Hello I keep getting an error message on my Python code, that "int is not callable"

2020-02-27 Thread Eddie B
Question #689036 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689036 Status: Open => Answered Eddie B proposed the following answer: Since this is an assignment, I'll just point you in the right direction... - Watch out for typos like "REATIL_PRICE". - Can a function

[Sikuli-driver] [Question #689039]: Unable to Install SikuliX 2.0.X on Win Server 2012 R2

2020-02-27 Thread Nitin Chaudhari
New question #689039 on Sikuli: https://answers.launchpad.net/sikuli/+question/689039 Hi Raiman, Thanks for excllednt support always. Installing SikuliX 2.0.3 on Windows Server 2012 R2 (64 bit). This machine have multiple Java versions for various other applications. The versions are jre

[Sikuli-driver] [Question #689036]: Hello I keep getting an error message on my Python code, that "int is not callable"

2020-02-27 Thread chukwuka ihemaguba
New question #689036 on Sikuli: https://answers.launchpad.net/sikuli/+question/689036 Hello everyone, I was working on an assignment, and I kept getting an error message that the "int" function is not callable. Please take a look at my code below; let me know where I

[Sikuli-driver] [Question #689035]: Executing menu commands takes too long (IDE)

2020-02-27 Thread Benjamin Berg
New question #689035 on Sikuli: https://answers.launchpad.net/sikuli/+question/689035 2.0.3 , windows 10. I realized that when clicking "run" it takes like over 1 minute to first execute the script while saved scripts are fast as usual. This might be acceptable, but also when I click on "save

[Sikuli-driver] [Question #689033]: Where is the suggestion for methods?

2020-02-27 Thread Benjamin Berg
New question #689033 on Sikuli: https://answers.launchpad.net/sikuli/+question/689033 I am trying to use sikuli under a newly installed windows 10 system. I had sikuli 2.0.3 downloaded and first I noticed that I had to install the jdk instead of jre. Second thing I noticed was that there is no

Re: [Sikuli-driver] [Question #689020]: Checking shortcut keys for opening a tool window

2020-02-27 Thread RaiMan
Question #689020 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689020 Status: Open => Answered RaiMan proposed the following answer: Key.CAPS_LOCK cannot be "typed" type(Key.ALT+"m"+"a") is not valid either type("ma", Key.ALT) or even keyDown(Key.ALT) type("ma")

Re: [Sikuli-driver] [Question #688984]: IDE: imported helper.py files are not automatically reimported if changed

2020-02-27 Thread RaiMan
Question #688984 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/688984 RaiMan proposed the following answer: works with SikuliX 2.0.x - main.py # this is a solution with plain .py files # this is main.py # add the path to import images.py imagePath

[Sikuli-driver] [Question #689020]: Checking shortcut keys for opening a tool window

2020-02-27 Thread Sreelekshmi
New question #689020 on Sikuli: https://answers.launchpad.net/sikuli/+question/689020 def shortcut(): type(Key.CAPS_LOCK) type(Key.ALT+"m"+"a") wait(5) if exists(ToolWindow): print("shortcutkeys are working") return True else: return False

Re: [Sikuli-driver] [Question #688984]: IDE: imported helper.py files are not automatically reimported if changed

2020-02-27 Thread RaiMan
Question #688984 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/688984 RaiMan proposed the following answer: I will post a solution with plain Python files shortly -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #688984]: IDE: imported helper.py files are not automatically reimported if changed

2020-02-27 Thread RaiMan
Question #688984 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/688984 Description changed to: ** the fix of bugs and enhancements are tracked here: https://github.com/RaiMan/SikuliX1/issues/315 ** workaround use .sikuli scripts until fixed (see comment #12)

Re: [Sikuli-driver] [Question #688984]: IDE: imported helper.py files are not automatically reimported if changed

2020-02-27 Thread RaiMan
Question #688984 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/688984 RaiMan proposed the following answer: the folder structure should be like this: ├── myapp.sikuli/ │ ├── myapp.py |── helpers.sikuli/ │ ├── helpers.py |── images.sikuli/ │ ├── images.py │ ├── all my

Re: [Sikuli-driver] [Question #688984]: IDE: imported helper files are not automatically reimported if changed

2020-02-27 Thread RaiMan
Question #688984 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/688984 RaiMan proposed the following answer: I am really sorry for all the buzz. The solution mentioned in comment #6 works. My problem when testing was from helpers import * instead of import helpers from

Re: [Sikuli-driver] [Question #688984]: IDE: imported helper.py files are not automatically reimported if changed

2020-02-27 Thread RaiMan
Question #688984 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/688984 Summary changed to: IDE: imported helper.py files are not automatically reimported if changed Description changed to: ** the fix of bugs and enhancements are tracked here:

Re: [Sikuli-driver] [Question #689016]: Facing sikuli integration error. Added correct jar files but facing with ImageMissing, NoSuchMethodException Pattern, Initialization errors etc.

2020-02-27 Thread Harpreet
Question #689016 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689016 Harpreet posted a new comment: Thanks Raiman for an instant response, thing is maven install error is resolved by adding below dependency: com.sikulix sikulixapi

Re: [Sikuli-driver] [Question #688984]: IDE: imported helper files are not automatically reimported if changed

2020-02-27 Thread SeltiX
Question #688984 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/688984 SeltiX posted a new comment: PS : this does not work : imagePath = makePath(getBundlePath(), "images") if not imagePath in sys.path: sys.path.append(imagePath) TypeError ( dirname() takes exactly 1

Re: [Sikuli-driver] [Question #688984]: IDE: imported helper files are not automatically reimported if changed

2020-02-27 Thread SeltiX
Question #688984 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/688984 SeltiX posted a new comment: hello, thanks for all the help! :D this workaround is my current setup, no? I dont see the diference -- You received this question notification because your team Sikuli

Re: [Sikuli-driver] [Question #688961]: about onChange() function

2020-02-27 Thread RaiMan
Question #688961 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/688961 RaiMan proposed the following answer: finding changes itself is rather fast (< some 10 msecs, the smaller the image the faster). with this you can make your own change-detector: ... might be a region

Re: [Sikuli-driver] [Question #689016]: Facing sikuli integration error. Added correct jar files but facing with ImageMissing, NoSuchMethodException Pattern, Initialization errors etc.

2020-02-27 Thread RaiMan
Question #689016 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689016 Status: Open => Answered RaiMan proposed the following answer: [ERROR] org/sikuli/script/FindFailed seems you got a FindFailed error. Just track it down, by debugging your testcode in Eclipse. Take

Re: [Sikuli-driver] [Question #688683]: lock screen not working using keyboard shortcut

2020-02-27 Thread Launchpad Janitor
Question #688683 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/688683 Status: Open => Expired Launchpad Janitor expired the question: This question was expired because it remained in the 'Open' state without activity for the last 15 days. -- You received this question

[Sikuli-driver] [Question #689016]: Facing sikuli integration error. Added correct jar files but facing with ImageMissing, NoSuchMethodException Pattern, Initialization errors etc.

2020-02-27 Thread Harpreet
New question #689016 on Sikuli: https://answers.launchpad.net/sikuli/+question/689016 I have added below jars in Maven project. Am using autoit, java, sikuli for a desktop app. sikulixapi.jar, sikulixlibswin-1.1.1.jar. Added them in classpath too. Got below dump when executed maven install

Re: [Sikuli-driver] [Question #688984]: IDE: imported helper files are not automatically reimported if changed

2020-02-27 Thread RaiMan
Question #688984 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/688984 Description changed to: ** workaround see comment #8 ** the fix of bugs and enhancements are tracked here: https://github.com/RaiMan/SikuliX1/issues/315

Re: [Sikuli-driver] [Question #688984]: IDE: imported helper files are not automatically reimported if changed

2020-02-27 Thread RaiMan
Question #688984 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/688984 RaiMan proposed the following answer: this is a workaround until the mentioned bugs are fixed (2.0.4) in a folder: main.py helper.py images (folder) - images.py - all imagefiles this works #

Re: [Sikuli-driver] [Question #688984]: IDE: imported helper files are not automatically reimported if changed

2020-02-27 Thread RaiMan
Question #688984 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/688984 RaiMan proposed the following answer: the folder structure should be like this: ├── myapp.sikuli/ │ ├── myapp.py |── helpers.sikuli/ │ ├── helpers.py |── images.sikuli/ │ ├── images.py │ ├── all my