zvvyt Posted February 2, 2008 Share Posted February 2, 2008 (edited) expandcollapse popup#NoTrayIcon #include <misc.au3> #include <guiconstants.au3> #include <Constants.au3> #include <IE.au3> #include <intro.jpg>; <----- problem is here #include <silkroad.jpg>; <----- problem is here ;Opt("TrayOnEventMode",1) ;Opt("TrayMenuMode",1) SplashImageOn("Thx for using this!","intro.jpg") sleep(2500) SplashOff() $main = GUICreate("Hide Me",160,150) GUISetIcon("silkroad.jpg") GUICtrlCreateTab(0,129) GUICtrlCreateTabitem("Main");Main $1st = GUICtrlCreateButton("Hide",30,0) GUICtrlCreateLabel("1st",5,5) guictrlsetcolor(-1,0xCC0000) $1stshow = GUICtrlCreateButton("Show",90,0) $2ndshow = GUICtrlCreateButton("Show",90,25) $2nd = GUICtrlCreateButton("Hide",30,25) GUICtrlCreateLabel("2nd",5,30) guictrlsetcolor(-1,0xCC0000) $exit = guictrlcreatebutton("exit..",120,125) GUICtrlCreateLabel("Brought to you by zvvyt btw",10,105) guictrlsetcolor(-1,0xCC0000) GUICtrlCreateTabitem("Help");Help GUICtrlCreateLabel("Start program when all",0,2) GUICtrlCreateLabel("SRO clients are running",0,14) GUICtrlCreateLabel("Click 1st hide to hide 1st copy",0,30) GUICtrlCreateLabel("Click 2nd hide to hide 2nd copy",0,42) GUICtrlCreateLabel("Click 1st show to show 1st copy",0,58) GUICtrlCreateLabel("Click 2nd show to show 2nd copy",0,70) GUISetState (@SW_SHOW) $array = WinList("SRO_Client") while 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then Exit select case $msg = $1st if WinExists($array[1][1]) Then WinSetState($array[1][1],"",@sw_hide) EndIf case $msg = $1stshow WinSetState($array[1][1],"",@SW_SHOW) case $msg = $2nd if WinExists($array[2][1]) Then WinSetState($array[2][1],"",@sw_hide) EndIf case $msg = $2ndshow WinSetState($array[2][1],"",@SW_SHOW) Case $msg = $exit if not ProcessExists("sro_client.exe") then exit $state = WinGetState("SRO_Client","") if BitAnd($state, 2) then Exit if BitAnd($state, 2) = 0 then $asd = MsgBox(4,"DOH! You Fail! or did you ...","SRO is still hidden. Wanna keep it that way?") if $asd = 7 then WinSetState($array[1][1],"",@sw_show) Exit if $asd = 7 then WinSetState($array[2][1],"",@sw_show) Exit if $asd = 6 Then Exit EndSelect WEndand here's the pictures:http://rapidshare.com/files/88650396/Pictu...roblem.rarplease help mety in advance Edited February 2, 2008 by zvvyt Link to comment Share on other sites More sharing options...
Developers Jos Posted February 2, 2008 Developers Share Posted February 2, 2008 #include is to insert script code at that point in the script at compilation or run times. Clearly NOT to include files. for that purpose you need to use the FileInstall() command. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Achilles Posted February 2, 2008 Share Posted February 2, 2008 Do you have to have rapidshare on your computer or something? The link you gave me just sends to a page that shows me how to download rapidshare... My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
zvvyt Posted February 2, 2008 Author Share Posted February 2, 2008 link is fixed Link to comment Share on other sites More sharing options...
Swift Posted February 2, 2008 Share Posted February 2, 2008 @Piano Man...lol....click:free at the bottom...then follow the steps... Link to comment Share on other sites More sharing options...
Kademlia Posted February 2, 2008 Share Posted February 2, 2008 Got your solution? FileInstall(@ScriptDir & "\includefiles\file.jpg",@Scriptdir & "\file.jpg") // this will include the file "file.jpg" from the subfolder of the script "includefiles" into you *.exe file. If a person runns the script. it will extract the file.jpg to the mainfolder of the script and you can use it Link to comment Share on other sites More sharing options...
zvvyt Posted February 2, 2008 Author Share Posted February 2, 2008 yes i got my solution thx Link to comment Share on other sites More sharing options...
Developers Jos Posted February 2, 2008 Developers Share Posted February 2, 2008 Got your solution?FileInstall(@ScriptDir & "\includefiles\file.jpg",@Scriptdir & "\file.jpg") // this will include the file "file.jpg" from the subfolder of the script "includefiles" into you *.exe file.If a person runns the script. it will extract the file.jpg to the mainfolder of the script and you can use itNah... Parameterssource - The source path of the file to compile. This must be a literal string; it cannot be a variable. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Kademlia Posted February 2, 2008 Share Posted February 2, 2008 Oh jeah...did that wrong several times x-) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now