Running Extension Cord Through Sliding Door

I have sliding doors and i m thinking maybe just run an extension cable outside every time i want to use it and for an antenna i will just buy an outdoor antenna and mount it on the balcony wall or something but this power fix is not practical in the long term and knowing me will get annoying after a few uses.
Running extension cord through sliding door. You can almost close the window though and use a insulating strip can get at wal mart to fill in the gap. No cord can be ran safely under a closed window. You can get a board that goes the full height of the door frame and is only an inch wide. There is no power outlet in the closet.
The specially designed cover door then pivots to cover the hole completely or fits around the extension cord and or garden hose preventing the passage of insects reptiles or. The cord door is a simple device consisting of a triangular plate which is mounted to the framework of a screen enclosure at a corner. Simbr extension cord flat plug angled with triple outlets indoor outdoor extension cord heavy duty 16awg sjtw 3 prong black 6 ft 4 3 out of 5 stars 53 11 99 11. So i want to use the outlet outside the closet and run an extension cord to inside the closet so i can power up the printer.
Run electrical wires underground to reach sheds lights patios and other locations following safe wiring practices. Then you can close the sliding glass door. Dragging extension cords across the yard to power the weed whip fumbling around in a dark shed most of us take these hassles for. No matter how flat the cord is it still contains wires which should not be severly bent crushed or broken.
This plate has a 2 diameter hole for passage of a extension cord and or garden hose. You can use one of those security bars for patio doors to lock it from the inside. I was thinking that instead of running the cord from the top of the door or the bottom of the door to run it through the door hinge gap.