Sikuli is so great! When the first time I heard about it it was only available on Mac, "what a pity!", I said. I just now noticed it supports Windows now! So I tried it. Unfortunately, it doesn't seem like my windows 7 Ultimate (Chinese) 64bit.
I followed the getting started tutorial and tried capturing a portion of my screenshot (the Start button), once I selected a rectangular area, the program exited abnormally, without any error message. The result is the same no matter I clicked the capture screen toolbar button, or clicked the "Click" function name on the left list.
So I also tried using another program to capture the Windows Start menu button and saved it to my disk, then manually added the following script:
Click(<my-previously-saved-png-image>).
And the log window shows the following:
[info] Sikuli vision engine loaded.
[info] Windows utilities loaded.
[info] VDictProxy loaded.
[error] 被停止 (translation: stopped)
[error] 第1行发生错误 (translation: error in line 1)
[error] 错误信息 (translation: error message): Traceback (most recent call last):
File "C:\Users\????\AppData\Local\Temp\sikuli-tmp2386320233862351632.py", line 1, in
click("start button.png")
Line 1, in file C:\Users\????\AppData\Local\Temp\sikuli-tmp2386320233862351632.py
at org.sikuli.script.Region.handleFindFailed(Region.java:420)
at org.sikuli.script.Region.wait(Region.java:511)
at org.python.proxies.sikuli.Region$Region$0.super__wait(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
org.sikuli.script.FindFailed: FindFailed: can not find start button.png on the screen.
Line 1, in file C:\Users\????\AppData\Local\Temp\sikuli-tmp2386320233862351632.py
Sikuli is so great! When the first time I heard about it it was only available on Mac, "what a pity!", I said. I just now noticed it supports Windows now! So I tried it. Unfortunately, it doesn't seem like my windows 7 Ultimate (Chinese) 64bit.
I followed the getting started tutorial and tried capturing a portion of my screenshot (the Start button), once I selected a rectangular area, the program exited abnormally, without any error message. The result is the same no matter I clicked the capture screen toolbar button, or clicked the "Click" function name on the left list.
So I also tried using another program to capture the Windows Start menu button and saved it to my disk, then manually added the following script:
Click(< my-previously- saved-png- image>) .
And the log window shows the following:
[info] Sikuli vision engine loaded.
[info] Windows utilities loaded.
[info] VDictProxy loaded.
[error] 被停止 (translation: stopped) ????\AppData\ Local\Temp\ sikuli- tmp238632023386 2351632. py", line 1, in ????\AppData\ Local\Temp\ sikuli- tmp238632023386 2351632. py
[error] 第1行发生错误 (translation: error in line 1)
[error] 错误信息 (translation: error message): Traceback (most recent call last):
File "C:\Users\
click("start button.png")
Line 1, in file C:\Users\
at org.sikuli. script. Region. handleFindFaile d(Region. java:420) script. Region. wait(Region. java:511) proxies. sikuli. Region$ Region$ 0.super_ _wait(Unknown Source) NativeMethodAcc essorImpl. invoke0( Native Method) NativeMethodAcc essorImpl. invoke( Unknown Source) DelegatingMetho dAccessorImpl. invoke( Unknown Source) reflect. Method. invoke( Unknown Source)
at org.sikuli.
at org.python.
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
org.sikuli. script. FindFailed: FindFailed: can not find start button.png on the screen. ????\AppData\ Local\Temp\ sikuli- tmp238632023386 2351632. py
Line 1, in file C:\Users\