~L.a.p.i.g~ Posted April 13, 2006 Share Posted April 13, 2006 (edited) Ok i am trying to make a GUI with a list that you can add scripts to and run from the GUI so far i have only been able to get the GUI done and make it tell me what was selected when i clicked "Run" heres the code ; Script generated by AutoBuilder 0.6 Prototype #include <GuiConstants.au3> GuiCreate("Script Organizer", 392, 323,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS)) $Label_1 = GuiCtrlCreateLabel("L.a.p.i.gs Scripts", 150, 20, 200, 40) $n1 = GuiCtrlCreateList ("", 110, 50, 170, 188) GUICtrlSetData(-1,"D2 Typer|Remote|Erg", "item2") $n2 = GuiCtrlCreateButton("Run Selected", 80, 260, 90, 30) $n3 = GuiCtrlCreateButton("Exit", 220, 260, 90, 30) GUICtrlSetState(-1,$GUI_FOCUS) GuiSetState() While 1 $msg = GUIGetMsg() if $msg = $n2 then msgbox(0,"Are you Sure?", GUICtrlRead($n1)) $msg = GUIGetMsg() if $msg = $n3 then Exit EndIf EndIf EndIf $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE Case Else ;;; EndSelect WEnd Exit Edited April 13, 2006 by ~L.a.p.i.g~ Link to comment Share on other sites More sharing options...
Simucal Posted April 13, 2006 Share Posted April 13, 2006 Several people have done something like this in the past. I would suggest checking out Valuater's "Script and Text Manager"http://www.autoitscript.com/forum/index.ph...59&hl=Valuater#Or Valuater's AutoIt 1-2-3 source which has a listbox and a button to run AutoIt scripts.http://www.autoitscript.com/forum/index.ph...hl=autoit+1-2-3Best of luck to you,-Simucal AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc) Link to comment Share on other sites More sharing options...
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