I heard of one tip with small generators but haven't tried it, to keep from pinching a heavy-duty extension cord.
If you have to run 120 volts from say a small Honda generator in the back yard to inside your house, take a styrofoam pool "noodle" float or a piece of that water pipe insulation (hollow in the middle) and cut 2 pieces to fit your window -- 1 for bottom of window and 1 to fit in the frame.
Then you can ease the window down to keep the outside air out, without pinching the cord carrying the 120 volts to whatever you plugged in.
If you have to run 120 volts from say a small Honda generator in the back yard to inside your house, take a styrofoam pool "noodle" float or a piece of that water pipe insulation (hollow in the middle) and cut 2 pieces to fit your window -- 1 for bottom of window and 1 to fit in the frame.
Then you can ease the window down to keep the outside air out, without pinching the cord carrying the 120 volts to whatever you plugged in.