来たとき

when (someone) came

→ 来る
phrase Common #5,227
when (someone) came Used to describe something that happened when someone arrived or came to a place. Depending on context, it can also be translated as “when you come.”
JA: 彼が来たとき、私は料理をしていた。
EN: When he came, I was cooking.

ルブリクムで干ばつが起きたと知るのは、向こうの人たちが買い物に来たときだった。

We only learned there was a drought in Rubricum when people from there came to shop.

土曜の夜、デイブが来たとき、私は眠っていた

I was asleep when Dave came over on Saturday night.

— ミスティック・リバー (2003)

部屋に来たときから、そこにあったよ。

It was there when I came into the room.

二度目に来たときの話をしてるんだよ。

I'm talking about the second time you came.

ローマに来たときはよくフィウメ広場の近くのホテルに泊まっていた

When I came to Rome, I often stayed at a hotel near Piazza Fiume.

— 甘い生活 (1960)

「じゃあ、次に来たときにでも」と私は答えた。

“Well, maybe next time,” I replied.

彼が来たとき私は宿題をしていた。

I was doing my homework when he arrived.

彼女が来たときパーティーは終わった。

The party was over when she arrived.

由美が来たとき私はテレビを見ていた。

I was watching TV when Yumi arrived.

あの子が来たとき、君は何をしていたんだ。

What were you doing when that kid came?

次に来たとき、これでいいという書類に署名してもらうよ。

Next time you come, I’ll have you sign a document saying this is acceptable.

前に来たとき、キャットは青とオレンジの染料を缶で買うのに苦労しなかった。

When Cat came before, she had no trouble buying blue and orange dye by the can.