Texturing a window frame
You will have to create two materials (one for you wall, and one for the window frame). Select the window frame and create the new window frame material (click +, then click Add new material). Then, click Assign to assign that new material to the window sill.