pumpas Posted September 14, 2004 Share Posted September 14, 2004 see my source of script expandcollapse popup;Script generated by AutoBuilder 0.4 Opt("GUICoordMode", 1) Opt("GUINotifyMode", 1) GuiCreate("MyGUI", 392,273,(@DesktopWidth-392)/2, (@DesktopHeight-273)/2 , 0x04CF0000) $group_2 = GUISetControl("group", "", 190, 0, 200, 270) $button_7 = GUISetControl("button", "Storm-Mu", 200, 20, 180, 30) $button_8 = GUISetControl("button", "Diablo 2", 200, 70, 180, 30) $button_10 = GUISetControl("button", "Sting's HackMap", 200, 120, 180, 30) $button_11 = GUISetControl("button", "IE", 200, 170, 180, 30) $button_12 = GUISetControl("button", "Gta", 200, 220, 180, 30) GUISetControl("group","",-99,-99,1,1) ;close group $group_1 = GUISetControl("group", "", 0, 0, 190, 270) $button_1 = GUISetControl("button", "cs 1.5", 10, 20, 170, 30) $button_2 = GUISetControl("button", "cs 1.6", 10, 70, 170, 30) $button_3 = GUISetControl("button", "C-D", 10, 120, 170, 30) $button_5 = GUISetControl("button", "Winamp 5", 10, 170, 170, 30) $button_6 = GUISetControl("button", "Lineage 2", 10, 220, 170, 30) GUISetControl("group","",-99,-99,1,1) ;close group GuiShow() While 1 sleep(100) $msg = GuiMsg(0) Select Case $msg = -3 Exit Case $msg = 12 ;;; Case $msg = $group_2 ;;; Case $msg = $button_7 run("D:\games\Mu def\Storm-Mu.bat") Case $msg = $button_8 run("D:\games\Diablo II\Diablo II.exe") Case $msg = $button_10 run("D:\games\Diablo II\Plugin\d2hackmap.exe") Case $msg = $button_11 run("C:\Program Files\Internet Explorer\IEXPLORE.EXE") Case $msg = $button_12 run("D:\games\gtavc\gta-vc.eXe") Case $msg = $group_1 ;;; Case $msg = $button_1 run(@comspec & "/c D:\games\Counter-Strike\hl.exe" & " -cstrike -game -console") Case $msg = $button_2 run(@comspec & "/c D:\games\Counter-Strike 1.6\hl.exe" & " -nomaster -game cstrike") Case $msg = $button_3 run("C:\Program Files\Cheating-Death\cdeath.exe") Case $msg = $button_5 run("C:\Program Files\Winamp\winamp.exe") Case $msg = $button_6 run("C:\Program Files\Lineage II\LineageII.exe") EndSelect WEnd Exit and .. all exxelent works but not this run(@comspec & "/c D:\games\Counter-Strike\hl.exe" & " -cstrike -game -console") Case $msg = $button_2 run(@comspec & "/c D:\games\Counter-Strike 1.6\hl.exe" & " -nomaster -game cstrike")dont work this options this -cstrike -game -console and this -nomaster -game cstrike Link to comment Share on other sites More sharing options...
Developers Jos Posted September 14, 2004 Developers Share Posted September 14, 2004 (edited) see my source of script <{POST_SNAPBACK}>Try: run(@comspec & ' /c "D:\games\Counter-Strike\hl.exe" -cstrike -game -console') Case $msg = $button_2 run(@comspec & ' /c "D:\games\Counter-Strike 1.6\hl.exe" -nomaster -game -cstrike') EDIT: , good catch ezzetabi Edited September 14, 2004 by JdeB 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...
ezzetabi Posted September 14, 2004 Share Posted September 14, 2004 Also you should put a space after the @comspec & ' run(@comspec & ' /c "D:\games\Counter-Strike\hl.exe" -cstrike -game -console') run(@comspec & ' /c "D:\games\Counter-Strike 1.6\hl.exe" -nomaster -game -cstrike') 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