You'll need this launch option to make it work: -gamestateintegration
This allows you to set up custom macros and turn active items into passive items.
This is fully external, default hotkeys are:
MOUSE 4 to activate macro
QWEDFR for skills
ZXCVBN for items
F1 to select hero