How to remove door window trim and windshield?

I am painting my car, and doing a color change. I need to get the trim around the door window off and the windshield trim with minimal damage.

Any tips please?!

The trim above where the glass sits in the door frame

And the trim that runs around the windshield.

Lets see the side front windshield trim it push up if i recall an the top trim piece (rubber) only comes out when the windshield comes out the door trim rubber pull the rubber off the trim an you will see screws unscrew it an the whole trim comes off…an on a side not the rear rubber n the hatch (if it a 3 door) only comes out with the glass an that is disc from the dealer