I have a process that I'm doing for thousands of images that I'd like to remove as many keystrokes as possible from.
The process is a loop of:
rectangle tool
* select rectangle
crop to selection
levels > select white eyedropper tool
* select white pixel
overwrite original image (jpeg - bump quality to 100%)
close view (or just "next image" - no confirmation dialog for that)
The starred steps require user input, and the ideal solution would only require user input for those steps (and all confirmation dialogs should auto-confirm). Any steps toward getting there would be appreciated.
I tried to automate the process using xdotool, but I couldn't get GIMP to recognize xdotool's "synthetic" keypresses (see
http://gimpchat.com/viewtopic.php?f=8&t=14248). Then, I switched to Windows 7 and GIMP 2.8.14 and tried the same thing with AutoHotKey and got the same result.
I'm using Linux Mint KDE 17.3, which is based on Ubuntu 14, and GIMP 2.8.10, if that matters.