I want to automate a few of the menial tasks that I do every single day both at my rented and home office.
I was looking into how I'd go about getting the local cursor/mouse position within a window rather than the global position on the screen, but as far as I've read online it seems like that's no easy task.
I know that I could use image recognition with PyAutoGui, PyWinAuto, Lackey or the java/python hybrid SikuliX. This of course works, but it seems like small variances in screen sizes and window sizes effectively renders most of the previously taken images unusable and you end up having to re-take most if not all.
The relationship between elements within the window stays the same. (They only scale up/down based on window size)
Is something like this possible? How much work am I looking at here? I appreciate any nudges in the right direction and I'm open to using other modules if available.
Please and thank you.