Please don't open multiple threads for the same question, they'll be answered in time :)
You can get the shortcuts from your combatant's current shortcut list like this:
IShortcut shortcut = combatant.Shortcuts.Current[index];
if(shortcut != null)
{
	int id = shortcut.ID;
}
combatant is your combatant (class Combatant), index is the shortcut slot index in the list.
IShortcut is a general interface for all shortcuts, you can also further check what kind of shortcut it is, e.g. for abilities:
if(shortcut is AbilityShortcut)
Or for items:
if(shortcut is ItemShortcut)