I've got a scan with two clear objects, then I choose menu File > Automate > Crop and Straighten Photos:
This gives the desired result:
I have also set up a keyboard shortcut for the same menu item: Alt + Ctrl + K. When I use that shortcut, I would expect exactly the same result. However, it gives me this instead:
Any idea why the same function invoked in different ways (through menu or keyboard shortcut) should give different results? And more importantly, what can I do to obtain the "menu" result (2 pictures) through the keyboard shortcut?