Jump to content

New Idea!


fred666777
 Share

Recommended Posts

ok... i was gona try and make it on my own but i suck at scripting still...

so i need ALOT of help or someone to take the idea and make it themselves.

basicly its a program that will do the basic window of an autoit program

so when you hit the Generate button you will get

#include <GUIConstants.au3>
GUICreate("", ???, ???, -1, -1)
GUICtrlCreate???("", ???, ???, ???, ???)
GUISetState()
While 1
WEnd

and it would fill in all of the ???

but i dont know how i could get to where i want...

Please help or take over w/e you want to do this is what i got so far(only the buttons)

thanks :) and please let me know if its a dumb idea

#include <GUIConstants.au3>

GUICreate("Autoit Window Creator", 800, 800, -1, -1)
GuiSetIcon("C:\users\patrick\desktop\AU3\password.ico", 0)

$filemenu = GUICtrlCreateMenu ("File")
$fileitem1 = GUICtrlCreateMenuItem ("Exit",$filemenu)
$helpmenu = GUICtrlCreateMenu ("Help")
$helpitem1 = GUICtrlCreateMenuItem ("About",$helpmenu)

GuiCtrlCreateGroup("", 629, -5, 170, 784)

;buttons
$newgui = GUICtrlCreateButton("New GUI Window", 640, 10)
$addbutton = GuiCtrlCreateButton("Add Button", 640, 40)
$addinput = GuiCtrlCreateButton("Add InputBox", 640, 70)
$addlabel = GuiCtrlCreateButton("Add Label", 640, 100)
$addprogressbar = GuiCtrlCreateButton("Add Progress Bar", 640, 130)
$addavi = GuiCtrlCreateButton("Add AVI", 640, 160)
$addgroup = GuiCtrlCreateButton("Add Group", 640, 190)
$addpic = GuiCtrlCreateButton("Add Pic", 640, 220)
$addcombo = GuiCtrlCreateButton("Add Combo Box", 640, 250)
$addlistview = GuiCtrlCreateButton("Add List View", 640, 280)
$addtreeview = GuiCtrlCreateButton("Add Tree View Checkboxes", 640, 310)
$addtreeview1 = GuiCtrlCreateButton("Add Tree View Normal", 640, 340)
$addcolorlabel = GuiCtrlCreateButton("Add Color Labels", 640, 370)
$addeditcontrol = GuiCtrlCreateButton("Add Edit Control", 640, 400)
$addtab = GuiCtrlCreateButton("Add Tab", 640, 430)
$addlistcontrol = GuiCtrlCreateButton("Add List Control", 640, 460)
$addupdown = GuiCtrlCreateButton("Add Up Down", 640, 490)
$addslider = GuiCtrlCreateButton("Add Slider", 640, 520)


GuiSetState ()

While 1
    $msg = GUIGetMsg()
    Select
         Case $msg = $GUI_EVENT_CLOSE Or $msg = $fileitem1
            ExitLoop
         Case $msg = $helpitem1
            
      EndSelect
   If $msg = $GUI_EVENT_CLOSE Then ExitLoop
   Wend
Edited by fred666777
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...