Jump to content
Sign in to follow this  

Height and Width settings

Recommended Posts


#include <GUIConstants.au3>
Func show_about()

$guiabout = GUICreate("About",300,200)
GUISetState (@SW_SHOW)
$okbutton_about = GUICtrlCreateButton ("OK",100,160,100)
GUICtrlCreateLabel("This script was created by the hard work of me and",40,20)
GUICtrlCreateLabel("the wonderful programming language AutoIt.",40,40)

While 1
    $msg = GUIGetMsg()
    if $msg = $GUI_EVENT_CLOSE OR $msg = $okbutton_about Then
        GUIDelete ($guiabout)


Your forgot the exitloop and additionally u used the $okbutton twice.

Your idea seems reasonable and u should be able to do it with autoit, but i guess you'll have to do a lot of reading for those ideas :P... read the help file on Run() and stdin and stdout to use Windows command-line .exe's in your script, and for the results maybe use GuiCtrlCreateList or GuiCtrlCreateListView. Also search the forum for network functions, guess there are a lot of em for reading mac-address, network-address and so on.

Edited by Polyphem

This post will be edited again by Polyphem: Tomorrow, 11:55 AM

Share this post

Link to post
Share on other sites

Thanks alot for all your help Polyphem. Your guideance has only strengthened my intrest in this program. Be sure that I will be back to pick your brain again.

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...