Jump to content

software runer


Recommended Posts

CODE
#include <GUIConstantsEx.au3>

Opt('MustDeclareVars', 1)

Example()

Func Example()

Local $n1, $n2, $msg

GUICreate("My GUICtrlRead")

$n1 = GUICtrlCreateList("CMD", 10, 10, -1, 100)

GUICtrlSetData(-1, "MsPaint|NotePad|Regedit", "NotePad")

$n2 = GUICtrlCreateButton("Run", 10, 110, 50)

GUICtrlSetState(-1, $GUI_FOCUS)

GUISetState()

Do

$msg = GUIGetMsg()

If $msg = $n2 Then

;My Code :/ not working

GUICtrlRead($n1)

Run $n1

;My code end.

;;MsgBox(0, "Selected listbox entry", GUICtrlRead($n1)) ; display the selected listbox entry

EndIf

Until $msg = $GUI_EVENT_CLOSE

EndFunc

My code don't working :P

;My Code :/ not working

GUICtrlRead($n1)

Run $n1

;My code end.

Runer isn't working the part

What must I do ?

I don't understand more than the script please help me :P

I'm thank you already for help :)

Edited by maxrealqnx
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...