Let's say Alice, human magus 3, has just scribed an arcane scroll of shocking grasp using her Scribe Scroll feat. Alice suddenly feels malice toward her assistant, Bob the goblin.
Given the basic mechanism of Spell Combat:
As a full-round action, [a magus] can make all of his attacks with his melee weapon at a –2 penalty and can also cast any spell from the magus spell list with a casting time of 1 standard action.
Plus the following lines in the Using Items section of the Magic Items chapter (Core Rulebook 458):
Spell completion items are treated like spells in combat and do provoke attacks of opportunity.
Spell Completion: This is the activation method for scrolls. A scroll is a spell that is mostly finished. The preparation is done for the caster, so no preparation time is needed beforehand as with normal spellcasting. All that’s left to do is perform the finishing parts of the spellcasting (the final gestures, words, and so on). ... Activating a spell completion item is a standard action (or the spell’s casting time, whichever is longer) and provokes attacks of opportunity exactly as casting a spell does.
And the following line in the Activate Magic Item section of Actions In Combat (Core Rulebook 184):
Spell Completion Items: Activating a spell completion item is the equivalent of casting a spell. It requires concentration and provokes attacks of opportunity. You lose the spell if your concentration is broken, and you can attempt to activate the item while on the defensive, as with casting a spell.
Can Alice punch Bob in the face, then cast the shocking grasp spell she just scribed as part of spell combat?