Example 1
ドアを開けたところ、猫が飛び出してきた。
Doa wo aketa tokoro, neko ga tobidashite kita.
When I opened the door, a cat came jumping out.
Breakdown
ドアdoor
をobject marker
開けたopened
ところjust as/when
猫cat
がsubject marker
飛び出してきたjumped out
Example 2
電話を切ったところ、また鳴った。
Denwa wo kitta tokoro, mata natta.
Right after I hung up the phone, it rang again.
Breakdown
電話phone
をobject marker
切ったhung up
ところjust after
またagain
鳴ったrang
Example 3
宿題を終わらせたところで、友達から連絡が来た。
Shukudai wo owaraseta tokoro de, tomodachi kara renraku ga kita.
Just as I finished my homework, I got a message from my friend.
Breakdown
宿題homework
をobject marker
終わらせたfinished
ところでjust as
友達friend
からfrom
連絡message
がsubject marker
来たcame
Note: The use of ところで emphasizes the timing.
Example 4
買い物をして帰ったところ、財布を失くしたことに気づいた。
Kaimono wo shite kaetta tokoro, saifu wo nakushita koto ni kizuita.
After shopping and returning home, I realized I had lost my wallet.
Breakdown
買い物shopping
をしてdid
帰ったreturned
ところjust after
財布wallet
をobject marker
失くしたlost
ことにabout the fact
気づいたnoticed/realized