A Co Armagh man allegedly beat a woman with a plank of wood, a hammer and a guitar in a drug-fuelled attack at his home, the High Court heard.