AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

gui

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
guysingleton
Guest





PostPosted: Tue Apr 19, 2005 5:16 am    Post subject: gui Reply with quote

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





PostPosted: Tue Apr 19, 2005 6:59 am    Post subject: Reply with quote

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





PostPosted: Tue Apr 19, 2005 7:18 am    Post subject: gui Reply with quote

thanks seams i got alot to learn
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group