Thanks for the reply. For the first point, your plugin’s display_capture_measure_all comparison parameter gave me some inspiration to determine if the screen is rotated. For the second point, I will give it a try!
display_capture_measure_all