Sign in to follow this  
Followers 0
Britbadboy

The simplest GUI question ever!

3 posts in this topic

Hi,

am new to this feature of GUI creation in AutoIt and was wondering how to start off. Basically I need my clients to download a coupke of mandatory programs from the internet prior to start using a certain application. Now I have managed this with simple .exe AutoIT scripts and the self installation is done without any problem. But to think of designing my own GUI and let users control it sounds more exciting, so just for that reason I need to ask WHERE DO I START? Any hints will be highly appreciated.

Regards.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Make sure you have the latest verision and run this...

#include <GUIConstants.au3>

GUICreate("My GUI"); will create a dialog box that when displayed is centered
GUISetState (@SW_SHOW)   ; will display an empty dialog box

; Run the GUI until the dialog is closed
While 1
    $msg = GUIGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Wend

Straight out the help file.

Edit: Be sure to look at all the GUICtrlCreate features etc. They all contain handy scripts that give a demonstration of the control, should be enough to get you started :).

Edited by burrup

[u]Old Projects:[/u]A3MORGB2Hex[u]Old Functions:[/u]_TimeAdd/_TimeSub_AddComma_BubbleSort _RippleSort "He who does not understand your silence will probably not understand your words." - Elbert Hubbard.

Share this post


Link to post
Share on other sites

Hi,

am new to this feature of GUI creation in AutoIt and was wondering how to start off. Basically I need my clients to download a coupke of mandatory programs from the internet prior to start using a certain application. Now I have managed this with simple .exe AutoIT scripts and the self installation is done without any problem. But to think of designing my own GUI and let users control it sounds more exciting, so just for that reason I need to ask WHERE DO I START? Any hints will be highly appreciated.

Regards.

<{POST_SNAPBACK}>

The best can be to start with the help with the gui reference

after you can analyse each example in the functions description

Remeber typing GUI in the search page will give you the reference to the related pages. :)

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