No, but what I really want is that the spells have a hotkey without set it in the editor, so for example if you learn an ability and it´s in the second square the hotkey will be the W, something like that, this is because Im tmaken a custom hero map and I want that the abilities don´t have the same Hotkey to avoid errors.
I'm not exactly sure what you mean. when you create a custom ability - you can choose which button position it goes in. you can also choose what the hotkey is. I don't know of any way to do that automatically. you have to set them to what you want...
use -" art - button position." to set the position to what you want.
after that use the "Text-hotkey" options to set the hotkey.
this way you can set it so the left ability is always q, and the next one w etc' with all your abilities.
Make 4 or more versions of each ability. Give each version different hotkey (q,w,e, r, d, f)(or whatever).
If it's the first ability the unit is learning, give it the Q version. If it's the second - W version.
For player's comfort make a command to change them like "-swapspell qw" or somthing like that.