d = VDict({
: "Rob",
: "Michael",
: "Greg"
})
d[
] = "Jones"
running = True
while running:
region = Subregion(265,295,558,179)
for person in d.keys():
if region.find(person):
m = region.matches[0]
photo = capture(m)
if photo in d:
popup(d[photo][0] + " posts a new message")
running = False
break
else:
sleep(1)