How to bind macros to combination like letter+number, like X+1?

Solution 1:

You can't do that. The only combinations you can create are with modifier keys like Control, Alt, and Shift.

There are two ways to go about this. Either create a simple macro and drag it to a slot on your action bar that's bound to the combination you want (like Ctrl-1), or modify the macro to do something different if a modifier key is pressed.

For example,/cast [nomodifier] Chain Heal; [modifier:alt] Greater Healing Wave will cast a Chain Heal if no modifier is pressed, and cast Greater Healing Wave when the macro is used while you press Alt.