Sign in to follow this  
Followers 0

Help Fix Script

2 posts in this topic

#1 ·  Posted (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(" 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)

While 1
      $msg = GUIGetMsg()
    if $msg = $n2 then
        msgbox(0,"Are you Sure?", GUICtrlRead($n1))
      $msg = GUIGetMsg()
    if $msg = $n3 then
    $msg = GuiGetMsg()
    Case $msg = $GUI_EVENT_CLOSE
    Case Else
Edited by ~L.a.p.i.g~

Share this post

Link to post
Share on other sites

Several people have done something like this in the past. I would suggest checking out Valuater's

"Script and Text Manager"

Or Valuater's AutoIt 1-2-3 source which has a listbox and a button to run AutoIt scripts.

Best of luck to you,


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)

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