This is a pretty cool feature that I didn't know about. If I could rep, I would.
Was this feature added in a recent patch? If so, do you think there is a new slash command for it's functionality or maybe an API command that you could use with /script?
Failing that, is there a way to script you pressing a button, without an outside program?
I know it's a slim chance, but this would be neat. I might even consider switching to click to move if I could have one button that i press once to both targetlasttarget and loot.
Still, nice find!