My workplace has a real-time dashboard. On that dashboard, realtime tasks load on the screen. Each task has a title, and we can click on them to work a task. Certain tasks I cannot work, so it is a bit of a pain accidently clicking on that task. Is there a way for MMM to ignore keywords, and not click if that keyword or phrase shows up?
I have a macro setup to click automatically on a set X Y coord on the screen to click as each task comes in, so I would like it to ignore clicking on tasks with the below keywords.
Here’s how I would try to tackle it. If the text can be selected with the mouse, doing a keypress ctrl-c to put it in the clipboard variable may allow you to further process it and take decisions accordingly. Since MMM doesn’t have strong string manipulation yet, you may have to paste the string into a notepad or something else to process it before though (find the keyword, copy it to the clipboard and check if the clipboard matches)