Position the rack in the middle of the oven. Preheat oven to 350 degrees.
In a large bowl, with an electric mixer, beat together sugar, brown sugar, and butter until light and fluffy. Add vanilla and eggs continueing to beat well.
In a seperate bowl add flour, baking soda, baking powder, and salt. Blend well and add to the dough mixture. Stir in oats, coconut, chocolate chips, dried cranberries, and corn flakes.
Spoon onto ungreased cookie sheet and bake for 10-12 minutes until lightly browned. Remove to cooling racks.