|
Post by torikoko on Aug 19, 2022 2:10:27 GMT
Hi, thanks for the amazing tool.
I have been trying to find a way to get MMM to detect a screen change by pixel range and then keypress a value ie F4 to take a screenshot when the change is detected.
What is the best way to do this? This is what I have so far. Keypress f4 for me takes a screenshot. This is working for scrolling down a webpage checking for new content and taking a screenshot.
| IF | PIXEL RANGE | At Location [X:700 Y:134]::Size [W:100 H:100] | CHANGES::1::0::0 | GOTO MACRO LINE | 2 2 | 93 | 119 | 2684 | Keypress f4 3 | 93 | 119 | 5200 | Keypress pgdn
Is there anyway to improve this?
Also is there a way to add these two lines to the start without looping them? I would like it to take an initial screenshot (f4) then page down to look for new content, if there is new content I want it to screenshot, if not I want it to keep trying to page down until there is.
| 93 | 119 | 2684 | Keypress f4 | 93 | 119 | 5200 | Keypress pgdn
Happy to hear your thoughts.
|
|
|
Post by philranger on Aug 19, 2022 19:35:43 GMT
Hello
I’m not familiar enough with using that kind of functions, but…
Maybe let your macro take a screenshot, crop it (so the clock isn’t on the screenshot, let the macro save it, then loop until you can’t find that picture?
|
|
|
Post by Tori koko on Aug 19, 2022 21:33:46 GMT
This is what I have so far:
1 | IF | PIXEL RANGE | At Location [X:700 Y:134]::Size [W:500 H:500] | CHANGES::1::0::0 | GOTO MACRO LINE | 2 2 | 93 | 119 | 2684 | Keypress f4 3 | 93 | 119 | 5200 | Keypress pgdn Keypress f4 for me takes a screenshot. This is working for scrolling down a webpage checking for new content and taking a screenshot. Is there anyway to improve this? Also is there a way to add these two lines to the start without looping them?:
| 93 | 119 | 2684 | Keypress f4 | 93 | 119 | 5200 | Keypress pgdn
|
|