Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $var2 = 1
- GuiCreate("Fun in the Sun",460,246,499,171)
- $button1=GuiCtrlCreateButton("Click here :-D",184,158,219,13)
- $label1=GuiCtrlCreateLabel("Click that button for a awsome Treat",137,93,287,15)
- GuiSetState()
- While 1
- $msg=GuiGetMsg()
- If $msg=-3 Then Exit
- If $msg=$button1
- Then MsgBox(",", "Cmon", "Cmon close the CD Tray") CDTray("E:", "open")
- Wend
- Func button1()
- EndFunc
Add Comment
Please, Sign In to add comment