As far as I see, both forms of question "What were you doing at 7 o'clock yesterday?" and "What did you do at 7 o'clock yesterday?" could be used to ask about someone's action in past. But are there a difference between them?
As far as I understand, when we ask "What were you doing at 7 o'clock yesterday?" we let know that we ask about some process (like "what were you doing when I've entered the room at 7 o'clock"), and if we ask "What did you do at 7 o'clock yesterday?" we let know that we ask about some momentary action (like "You did something at 7 o'clock that caused computer crash. What exactly did you do at that moment?")
Am I right or not?