Vladi243 Posted April 27, 2008 Posted April 27, 2008 1. I created a button in a GUI. I want that after clicking on him, the script will continue. 2. I wrote in the script "Run ("xxxxxxxx"). How can I make the script wait until the programme close? 3. I want to block one input box while other CheckBox is checked. How to do it? That's all for now.
flip209 Posted April 27, 2008 Posted April 27, 2008 Number 2: Look at Runwait() Number 3: Guictrlsetstate($GUI_ENABLE Control will be enabled. , $GUI_DISABLE Control will be greyed out. ) " I haven't failed. I've just found 10,000 ways that won't work." Thomas Edison "You cannot help men permanently by doing for them what they could and should do for themselves." Abraham Lincoln
ProgAndy Posted April 27, 2008 Posted April 27, 2008 (edited) 1) GuiGetMsg -Loop (See Helpfile) 2) use RunWait (See Helpfile) 3) look for GuiCtrlSetState / GUICtrlGetState, to get State of CheckBox: If BitAnd(GUICtrlRead($Checkb),$GUI_CHECKED) = $GUI_CHECKED Then (See Helpfile) Edited April 27, 2008 by ProgAndy *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes
flip209 Posted April 27, 2008 Posted April 27, 2008 1) GuiGetMsg -Loop (See Helpfile)2) use RunWait (See Helpfile)3) look for GuiCtrlSetState / GUICtrlGetState, to get State of CheckBox: If BitAnd(GUICtrlRead($Checkb),$GUI_CHECKED) = $GUI_CHECKED Then (See Helpfile)LOL reminds me of a boring teach I had one time the repeated everything 100 times in a dull voice. See Helpfile, See Helpfile, See Helpfile, See Helpfile " I haven't failed. I've just found 10,000 ways that won't work." Thomas Edison "You cannot help men permanently by doing for them what they could and should do for themselves." Abraham Lincoln
ProgAndy Posted April 27, 2008 Posted April 27, 2008 (edited) LOL reminds me of a boring teach I had one time the repeated everything 100 times in a dull voice. See Helpfile, See Helpfile, See Helpfile, See Helpfile I wrote it before he asks, where to look. I saw it a few times like:Question: -How can I assign a function to a buttonAnswer: - Look for GUIGetMsGQusetion: -Where shall I look? I Google? Forum? Edited April 27, 2008 by ProgAndy *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now