Trim / Split command

Is it possible to create new command ?

I explain. I would like to split several entities relative to on line without erase the entities selected.

I know that the split command exist but it is very long because it must repeat the split command for

each lines or entities.

I join a picture to explain my requirement.

 

then I have a problem to split a circle relative to a line. If you have a solution thanks.

I excuse me to my bad english

Thanks