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 

Simple Question about DDL

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



Joined: 06 Oct 2006
Posts: 22

PostPosted: Fri Oct 06, 2006 10:24 pm    Post subject: Simple Question about DDL Reply with quote

How to AutoLoad when i select one of item of Drop Down List?

For Example:
There is 4 itens in my DDL: Blue|Green|Red|Yellow

If i select the green one, the script will execute: "Msgbox, You collor was Green" automatic, without wait gui submit or i press enter or click OK.

How can i do this?
Sorry for my English
Thank's!
Back to top
View user's profile Send private message
Titan



Joined: 11 Aug 2004
Posts: 5376
Location: /b/

PostPosted: Fri Oct 06, 2006 11:04 pm    Post subject: Reply with quote

Give it a g-label Question
Back to top
View user's profile Send private message Visit poster's website
rockit0



Joined: 06 Oct 2006
Posts: 22

PostPosted: Fri Oct 06, 2006 11:24 pm    Post subject: Reply with quote

Ok, but, how to do it using DDL ?
Back to top
View user's profile Send private message
SKAN



Joined: 26 Dec 2005
Posts: 6223

PostPosted: Fri Oct 06, 2006 11:36 pm    Post subject: Reply with quote

rockit0 wrote:
Ok, but, how to do it using DDL ?


Code:
Gui, Add, DDL, Choose1 vColor gShowMsgBox, Blue|Green|Red|Yellow
Gui, Show, w400 h300 , Select a Color
Return

ShowMsgBox:
Gui, Submit, NoHide
MsgBox, 64, Color Selection, %Color%
Return

GuiEscape:
GuiClose:
 ExitApp
Return


Regards, Smile

PS: Please Read The Fine Manual and try the examples given in it. Also use Search and try the many scripts posted throughout this forum.
_________________
Back to top
View user's profile Send private message
rockit0



Joined: 06 Oct 2006
Posts: 22

PostPosted: Fri Oct 06, 2006 11:44 pm    Post subject: Reply with quote

Thank's.
Back to top
View user's profile Send private message
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