Hi what you want is main menu ->keybinds and scroll down to interact with target. assign a key (let's say i). This will interact with the corpse and loot it.

If you're using keyclone or similar, create an assist macro on your slave (/assist toon1) and assign that on a key (let's say u)

Now target with your main, type u, then i, bob's your uncle.