Sparky,

I think that cord pictured is intended to control Christmas tree lights. At least that's the recommended use I've seen in one manufacturer's catalog (Gem Electric).

You plug all of your lights into the cord and then use the foot-switch to turn the thing on and off....instead of plugging and unplugging the cord.