pumpas 0 Posted September 15, 2004 hey ppl i post some posts in this forum and the guys helped me some but its dont work see my source of scriptexpandcollapse 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 this file propertes dont work :/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')this properties cstrike -game -console and -nomaster -game -cstrike anyone help ? i think administrator shode know it ...(sorry for my english ) Share this post Link to post Share on other sites
ezzetabi 3 Posted September 15, 2004 Try: 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) If $msg = 0 Then ContinueLoop; Why making all checks if nothing happened? 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('"D:\games\Counter-Strike\hl.exe" cstrike -game -console') Case $msg = $button_2 run('"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 Why use the comspec in this case? But if you want to try: 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') Share this post Link to post Share on other sites
pumpas 0 Posted September 15, 2004 Try: 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) If $msg = 0 Then ContinueLoop; Why making all checks if nothing happened? 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('"D:\games\Counter-Strike\hl.exe" cstrike -game -console') Case $msg = $button_2 run('"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 Why use the comspec in this case? But if you want to try: 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') <{POST_SNAPBACK}>its dont work :/ Share this post Link to post Share on other sites
JSThePatriot 18 Posted September 15, 2004 its dont work :/ <{POST_SNAPBACK}>Okay... so you are only having trouble with the Counter Strike and everything else works fine? 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') That is your code... I have a few questions if you or anyone else knows the answer, but I also have one suggestion. Question: What does the /c do? Suggestion: Try the below code. 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") Let me know how that works out for you. JS AutoIt LinksFile-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.ComputerGetInfo UDF's Updated! 11-23-2006External LinksVortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Share this post Link to post Share on other sites
pumpas 0 Posted September 16, 2004 Okay... so you are only having trouble with the Counter Strike and everything else works fine? 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') That is your code... I have a few questions if you or anyone else knows the answer, but I also have one suggestion. Question: What does the /c do? Suggestion: Try the below code. 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") Let me know how that works out for you. JS <{POST_SNAPBACK}>i think /c is dos ... i dont know some guys tell it your code dont work :/ more help from guys ? Share this post Link to post Share on other sites
this-is-me 6 Posted September 16, 2004 Don't use the comspec at all. Case $msg = $button_1 run("D:\games\Counter-Strike\hl.exe cstrike -game -console") Case $msg = $button_2 run("D:\games\Counter-Strike 1.6\hl.exe -nomaster -game -cstrike") The only one you need comspec on is the bat file: run(@comspec & '/c "D:\games\Mu def\Storm-Mu.bat"') Who else would I be? Share this post Link to post Share on other sites
pumpas 0 Posted September 16, 2004 ITS DON'T WORK !!! LOOL Share this post Link to post Share on other sites
JSThePatriot 18 Posted September 16, 2004 Okay I hope one of these work. I have two more suggestions... 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') OR 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') Let me know. Thanks, JS AutoIt LinksFile-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.ComputerGetInfo UDF's Updated! 11-23-2006External LinksVortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Share this post Link to post Share on other sites
pumpas 0 Posted September 17, 2004 Okay I hope one of these work. I have two more suggestions... 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') OR 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') Let me know. Thanks, JS <{POST_SNAPBACK}>its dont work ... :///// im trying to make this think about 5 days ;/ Share this post Link to post Share on other sites
ezzetabi 3 Posted September 17, 2004 Check the command line, copy and paste this in a console window, does it work? "D:\games\Counter-Strike\hl.exe" cstrike -game -console Share this post Link to post Share on other sites
pumpas 0 Posted September 17, 2004 Check the command line, copy and paste this in a console window, does it work? "D:\games\Counter-Strike\hl.exe" cstrike -game -console <{POST_SNAPBACK}>nope Share this post Link to post Share on other sites
pumpas 0 Posted September 17, 2004 (edited) nope <{POST_SNAPBACK}>ALL WORLKS YAHOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO see below source: ) Case $msg = $button_1 Run(@ComSpec & " /c " & 'D:\games\Counter-Strike\hl.exe -game cstrike -console', "", @SW_MAXIMIZE) Case $msg = $button_2 Run(@ComSpec & " /c " & '"D:\games\Counter-Strike 1.6\hl.exe" -nomaster -game cstrike', "", @SW_MAXIMIZE) Edited September 17, 2004 by pumpas Share this post Link to post Share on other sites