opportunity, occasion (while doing something else)
丁度ついでです
I’m doing it while I’m at it anyway.
— ラスト、コーション (2007)
ついでに寄った
I stopped by while I was in the area.
— ビッグ・シック ぼくたちの大いなる目ざめ (2017)
君が飲むついでに、僕の分も入れてくれないかな。
While you're getting yourself a drink, could you pour one for me too?
ついでだ
Since I'm at it.
— ダイ・ハード (1988)