 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
guysingleton Guest
|
Posted: Tue Apr 19, 2005 5:16 am Post subject: gui |
|
|
i have a gui checkbox if like to have activate when its checked. its not working can someone help? from what i have read in help this is suposed to be right. though i may have missunderstood
Gui, Add, Checkbox,x23 y38 vboton1, turn bot on/off
GuiControlGet, boton1
if boton1 =1
Run, msconfig
can anyone help me out?
basicly i want it to run msconfig when it is checked |
|
| Back to top |
|
 |
garry Guest
|
Posted: Tue Apr 19, 2005 6:59 am Post subject: |
|
|
hi guysingleton
| Code: |
Gui, Show, x270 y110 h100 w210, MSCONFIG ;WINDOW
Gui, Font, S10 CDefault Bold, Verdana ;TITLE
Gui, Add, Text, x10 w140 h20, EXAMPLE-1
Gui, Add, checkbox, x10 y30 vSTARTMSCONFIG, START-MSCONFIG
Gui, Add, Button, x80 y60 w90 h30, OK
Return
ButtonOK:
Gui, submit,nohide
if startmsconfig = 1
{
Run, msconfig
}
return
GuiClose:
GuiEscape:
ExitApp
|
|
|
| Back to top |
|
 |
guysingleton Guest
|
Posted: Tue Apr 19, 2005 7:18 am Post subject: gui |
|
|
| thanks seams i got alot to learn |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|