你打來的時候我正準備出門。

I was about to leave when you telephoned.

Source: Tatoeba

Sentence Composition