onChange not detecting changes
Raiman,
So I'm working on this tracking tool that shows on a map (like a googlemaps satellite view) where there was movement. It does this by showing these little red stars where the movement was detected. The little stars are about 40-50 pixels large. What I wanted to do is keep a log of the position the stars come up on the screen. So I coded up a section below and it runs the code, but I never detect these stars showing up although I can clearly see them when I run the program. I've read through several other posts on using the onChange function and thought I had it correct, but I must be doing something wrong. Can you please take a look? I've only included what is applicable here. This is obviously within a class and there's other classes involved. The self.resfile is just a file_io class that has functions for reading and writing to a result text file. I know for sure it's entering my watch_for_tracks method and it's clicking on the start_tracking_
Or is there a better way altogether to do this?
def changed(event):
for ch in event.changes:
def watch_for_
if (start_
else:
def breakscript(self, event):
exit(1)
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Greg Howell
- Solved:
- Last query:
- Last reply: