〜たかと思うと
"No sooner had… than": one thing happens, and the next follows at once.
Make a card in yomerooverb た-formかと思うと is literally "just as I thought it had…": the next thing happens before the first has properly sunk in. It tells a quick, often surprising run of events, one after another.
It is used about things seen from outside, not the speaker's own plans: what follows is something that happened, not a request or a decision. かと思えば and かと思ったら are the same.
The warrior in scarlet rides a great circle in front of the enemy, then all at once charges:
And again: he lowers his spear, and already three or four men are down.
Made-up example+ card
空が暗くなったかと思うと、雨が降り出した。
Made-up example+ card
赤ちゃんは泣いたかと思うと、もう笑っている。