Guest User

Untitled

a guest
Jun 22nd, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. $var2 = 1
  2. GuiCreate("Fun in the Sun",460,246,499,171)
  3. $button1=GuiCtrlCreateButton("Click here :-D",184,158,219,13)
  4. $label1=GuiCtrlCreateLabel("Click that button for a awsome Treat",137,93,287,15)
  5. GuiSetState()
  6.  
  7. While 1
  8. $msg=GuiGetMsg()
  9. If $msg=-3 Then Exit
  10. If $msg=$button1
  11. Then MsgBox(",", "Cmon", "Cmon close the CD Tray") CDTray("E:", "open")
  12. Wend
  13. Func button1()
  14. EndFunc
Add Comment
Please, Sign In to add comment