I need to capture a small rectangle region of screen that defined by the user.
I need a way to get from the user two pointer location.
How do I do that without figure or gui ?
should be something like:
p1 = get(0, 'PointerLocation');
while mouse not released
p2 = get(0, 'PointerLocation');
I'm open for any suggestions even java.awt.Robot/java.awt.MouseInfo