Sign in to follow this  
Followers 0
Vladi243

Some questions

6 posts in this topic

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.

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

#3 ·  Posted (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 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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

thanks guys, i'll try it.

Share this post


Link to post
Share on other sites

#6 ·  Posted (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

:D 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 button

Answer: - Look for GUIGetMsG

Qusetion: -Where shall I look? I Google? Forum?

Edited 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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0