Jump to content
Sign in to follow this  
bang

WHY this dosn`t work? plz help

Recommended Posts

bang

#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

Share this post


Link to post
Share on other sites
rambo3889

Support forums bang


My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! you’re the best in town Fight!

Share this post


Link to post
Share on other sites
big_daddy

It doesn't work because of this:

Func runtitle($Title_name)
     ($Title_name)
EndFunc

What are you trying to do there?

Share this post


Link to post
Share on other sites
big_daddy

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?

Edited by big_daddy

Share this post


Link to post
Share on other sites
theguy0000

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

Share this post


Link to post
Share on other sites
rambo3889

@bang Why are you still reposting?


My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! you’re the best in town Fight!

Share this post


Link to post
Share on other sites
seandisanti

@bang Why are you still reposting?

redundant onomatopoeia

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  

×