# Modifiying a file in editor automatically

I'm trying to change a ppt to beamer. Here's the strategy I'm following:

1. Copy all bullets from the ppt (open office)
2. Paste it in an editor (gedit?)
3. Hit save. (Here, it should call the sed script sed -i 's/^/\item /' filename )
4. Editor should see the changes and reload so that I can copy/paste to my beamer source.

Can someone point me to an editor where I can extend the on-save functionality to make this happen.

-