你跑步经过我家窗前的时候我正在跑步机上跑步。
I was running on the treadmill when you ran past the window of my house.
我认真用心翻译的,这样比较地道,确切。希望及时采纳——♥ 多谢、
While I was running on the treadmill you ran past my window.
试试i was running on the threadmill when you ran by my window.
阿 I was running on the treadmill when you ran past window of my house.