#singleinstance Starthere: Gui, +AlwaysOnTop ;stay on top of all windows Gui, Font, s8 Bold, Verdana Gui, Add, Text,y10 r8 w192 Center ,Drag && Drop here. `n f11 to show, `nf12 to minimize, `nesc to exit Gui, Show, w200 h100, Drag & Drop Return GuiEscape: ;if escape key pressed ExitApp ;close and exit app Return ; GuiClose: ;if x button in GUI pressed with mouse ExitApp ;close and exit app Return f11:: ;shortcut key to maximize goto, starthere ;goto start return F12:: ;Shortcut Key to minimize Gui, Destroy ;destroy GUI but dont exit return GuiDropFiles: ;perform following if file dropped on GUI Run, %A_GuiControlEvent% ;run the file name ;gui, destroy ;destroy gui Return