I right click on the cube Z location, then select "copy data path". When I paste that into the console I find the word
location. Why doesn't it paste
Place the cursor over a property and press CtrlShiftAltC to copy the full RNA data path of that property to the clipboard eg.
The hotkey calls
Somehow related: Add menu entry to generic right-click menu?