Jump to content

WHY this dosn`t work? plz help


bang
 Share

Recommended Posts

#region
#include <GuiConstants.au3>
HotKeySet("{pgup}","unhide")
GuiCreate("RUN", 206, 66,(@DesktopWidth-206)/2, (@DesktopHeight-66)/2 , $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS)

$title = GuiCtrlCreateInput("", 10, 10, 140, 20)
$Button_2 = GuiCtrlCreateButton("RUN", 160, 10, 40, 40)
$Button_3 = GuiCtrlCreateButton("HIDE", 60, 40, 80, 20)
$Button_4 = GuiCtrlCreateButton("EXIT", 10, 40, 40, 20)

GuiSetState()
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case $msg = $Button_4
        Exit 0
    Case $msg = $Button_2
        $Title_name = GUICtrlRead($title)
        runtitle($Title_name)
    Case $msg = $Button_3
        WinSetState("RUN","",@SW_HIDE)
    Case Else
        
    EndSelect
WEnd
Func unhide()
    WinSetState("RUN","",@SW_SHOW)
EndFunc

Func runtitle($Title_name)
     ($Title_name)
EndFunc
Exit

Link to comment
Share on other sites

Nevermind I actually looked at your script. It should be something like this:

Func runtitle($wintitle)
     Run('"'$wintitle'"')
EndFunc
Exit

Still not real sure what you are trying to do though?

forgot the & :lmao:

Func runtitle($wintitle)
     Run('"'&$wintitle&'"')
EndFunc
Exit

The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

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...