Jump to content

Recommended Posts

i want it so that once the person puts the file path into the input box and press ok it will set a variable as the file path.

here is what i have:

#region --- GuiBuilder code Start ---

#include <GuiConstants.au3>

GuiCreate("Configuration", 458, 166,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS))

GUISetBkColor("0x99FFFF")

$Label_1 = GuiCtrlCreateLabel("Warcraft III Location", 170, 10, 100, 20)

$Label_2 = GuiCtrlCreateLabel("Right click on your Warcraft shortcut and Select Properties. Go to the Shortcut Tab. Copy the text in the Target section and paste it below.", 60, 40, 330, 30)

$Input_1 = GuiCtrlCreateInput("", 10, 90, 440, 20)

$Button_1 = GuiCtrlCreateButton("OK", 160, 120, 120, 30)

GuiSetState()

While 1

$msg = GuiGetMsg()

Select

Case $msg = $GUI_EVENT_CLOSE

ExitLoop

Case Else

;;;

EndSelect

WEnd

Exit

#endregion --- GuiBuilder generated code End ---

how would i do it?? also how can i make a browse button so thehy can select warcraft

"Its not about the 30 inch 1080p display, or the SLI 8800 ultras, or the DDR3 memory. It's about when you turn on your PC, does it return the favor?"Math is like sex. Sure, it may give some practical results, but that is not why we do it
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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...