sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #55171
[Bug 1882227] Re: Alt+shift+c won't stop the program when using "OnAppear" with "observe"
** Description changed:
Version : Sikulix IDE 2.0.4
OS : Window 10
OnAppear requires observe to make it work. I use it right, it works very
well but ALT+SHIFT+C won't stop the running script. I did press
ALT+SHIFT+C several times but it seems still running on background ( Can
check through Task Manager). I tried run any other functions, features,
etc. and ALT+SHIFT+C still working, I guess when you put
"OnAppear"+"observe" in the script it won't stop after ALT+SHIFT+C.
+
+ UPDATE:
+ ALT+SHIFT+C won't work when it is observing
+
+ For example:
+
+ R = (someregion)
+
+ def bigoof(event): ALT+SHIFT+C still working
+ click(pic) ALT+SHIFT+C still working
+ event.repeat() ALT+SHIFT+C still working
+
+ if has(picture, 1): ALT+SHIFT+C still working
+ click(picture) ALT+SHIFT+C still working
+
+ R.onAppear(picture, bigoof) ALT+SHIFT+C still working
+ R.observe(10) ALT+SHIFT+C Not working for 10 seconds
+
+
+ if you increase time on observe to forever
+ observe(FOREVER) ALT+SHIFT+C Not working forever
** Description changed:
Version : Sikulix IDE 2.0.4
OS : Window 10
OnAppear requires observe to make it work. I use it right, it works very
well but ALT+SHIFT+C won't stop the running script. I did press
ALT+SHIFT+C several times but it seems still running on background ( Can
check through Task Manager). I tried run any other functions, features,
etc. and ALT+SHIFT+C still working, I guess when you put
"OnAppear"+"observe" in the script it won't stop after ALT+SHIFT+C.
UPDATE:
ALT+SHIFT+C won't work when it is observing
For example:
R = (someregion)
def bigoof(event): ALT+SHIFT+C still working
- click(pic) ALT+SHIFT+C still working
- event.repeat() ALT+SHIFT+C still working
+ click(pic) ALT+SHIFT+C still working
+ event.repeat() ALT+SHIFT+C still working
if has(picture, 1): ALT+SHIFT+C still working
- click(picture) ALT+SHIFT+C still working
+ click(picture) ALT+SHIFT+C still working
R.onAppear(picture, bigoof) ALT+SHIFT+C still working
R.observe(10) ALT+SHIFT+C Not working for 10 seconds
-
- if you increase time on observe to forever
+ if you change time on observe to forever(ALT+SHIFT+C won't work depend on how long observe is)
observe(FOREVER) ALT+SHIFT+C Not working forever
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1882227
Title:
Alt+shift+c won't stop the program when using "OnAppear" with
"observe"
Status in Sikuli:
New
Bug description:
Version : Sikulix IDE 2.0.4
OS : Window 10
OnAppear requires observe to make it work. I use it right, it works
very well but ALT+SHIFT+C won't stop the running script. I did press
ALT+SHIFT+C several times but it seems still running on background (
Can check through Task Manager). I tried run any other functions,
features, etc. and ALT+SHIFT+C still working, I guess when you put
"OnAppear"+"observe" in the script it won't stop after ALT+SHIFT+C.
UPDATE:
ALT+SHIFT+C won't work when it is observing
For example:
R = (someregion)
def bigoof(event): ALT+SHIFT+C still working
click(pic) ALT+SHIFT+C still working
event.repeat() ALT+SHIFT+C still working
if has(picture, 1): ALT+SHIFT+C still working
click(picture) ALT+SHIFT+C still working
R.onAppear(picture, bigoof) ALT+SHIFT+C still working
R.observe(10) ALT+SHIFT+C Not working for 10 seconds
if you change time on observe to forever(ALT+SHIFT+C won't work depend on how long observe is)
observe(FOREVER) ALT+SHIFT+C Not working forever
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1882227/+subscriptions
References