just when
Justo cuando pensaba que lo había hecho, llegué a un callejón sin salida.
Just when I thought I had done it, I hit a dead end.
— El tiempo contigo (2019)
Estábamos hablando de ti justo cuando entraste por la puerta.
We were just talking about you when you walked through the door.
Ella volvió justo cuando yo me estaba yendo.
She came back just as I was leaving.
Ella llegó justo cuando nos íbamos.
She arrived just as we were leaving.
Llegó el autobús justo cuando él llegó a la parada.
The bus arrived just as he reached the stop.
¿No te resulta extraño que siempre desaparezca justo cuando hay trabajo pendiente en la oficina?
Don't you find it strange that he always disappears just when there's work to be done in the office?
Fue una suerte que apareciera ese oso justo cuando lo hizo.
It was lucky that the bear appeared just when he did it.
— Paddington 2 (2017)
Terminó justo cuando empezaba a llover y no se mojó ni una gota al salir.
It ended just as it started to rain, and he didn't get a single drop wet when he came out.