Well,
If you're sure it's leaking only whilst the engine is running, then it's gotta be leaking from somewhere that's pressurized. That rules out covers and gaskets for the most part, and leaves you (indeed) with the oil pressure sender, or maybe something as simple as a loose oil filter (?)
Cheers,
-CCoD-