#Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_icon=..\..\..\..\..\..\Program Files (x86)\AutoIt3\Aut2Exe\Icons\AutoIt_Main_v10_48x48_RGB-A.ico #AutoIt3Wrapper_outfile=Executable Controleur V1.2.0.exe #AutoIt3Wrapper_Res_Language=1036 #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** ;------------------------------------------------------------------------------------------ ; Script de Kagami Tsuki ; Merci à OoO pour son aide ;------------------------------------------------------------------------------------------ #include #include #include #include #include ;------------------------------------------------------------------------------------------ ; GUI ;------------------------------------------------------------------------------------------ #Region ### START Koda GUI section ### Form= $Form1_1 = GUICreate("Executable Controleur v1.2.0", 583, 270, 202, 132) GUISetBkColor(0xFFFBF0) $Label1 = GUICtrlCreateLabel("Executable Controleur", 144, -8, 286, 63) GUICtrlSetFont(-1, 20, 800, 0, "Luna Bar") GUICtrlSetColor(-1, 0x000000) GUICtrlSetTip(-1, "Crée par Kagami Tsuki." & @CRLF & "Sous Autoit") $Label2 = GUICtrlCreateLabel("By Kagami Tsuki", 504, 232, 76, 19) GUICtrlSetFont(-1, 8, 400, 0, "Arial Narrow") GUICtrlSetColor(-1, 0x000000) $Button1 = GUICtrlCreateButton("Carte SD (E:)", 448, 56, 123, 17, $WS_GROUP) GUICtrlSetCursor (-1, 0) $Button2 = GUICtrlCreateButton("USB (G:)", 16, 80, 123, 17, $WS_GROUP) GUICtrlSetCursor (-1, 0) $Button3 = GUICtrlCreateButton("USB (F:)", 16, 56, 123, 17, $WS_GROUP) GUICtrlSetCursor (-1, 0) $Button4 = GUICtrlCreateButton("USB (H:)", 16, 104, 123, 17, $WS_GROUP) GUICtrlSetCursor (-1, 0) $Button5 = GUICtrlCreateButton("Disque Dur (C:)", 16, 128, 123, 17, $WS_GROUP) GUICtrlSetCursor (-1, 0) $Button17 = GUICtrlCreateButton("Lecteur de Disque", 16, 152, 123, 17, $WS_GROUP) GUICtrlSetCursor (-1, 0) $Group1 = GUICtrlCreateGroup("Externe", 8, 32, 137, 145) GUICtrlSetFont(-1, 10, 800, 0, "Arial Narrow") GUICtrlSetColor(-1, 0x000000) GUICtrlCreateGroup("", -99, -99, 1, 1) $Button6 = GUICtrlCreateButton("S4 League", 160, 56, 123, 17, $WS_GROUP) GUICtrlSetCursor (-1, 0) $Button7 = GUICtrlCreateButton("Dofus 2.0", 160, 80, 123, 17, $WS_GROUP) GUICtrlSetCursor (-1, 0) $Button8 = GUICtrlCreateButton("Dofus Arena", 160, 104, 123, 17, $WS_GROUP) GUICtrlSetCursor (-1, 0) $Group2 = GUICtrlCreateGroup("Jeux Online", 152, 32, 137, 97) GUICtrlSetFont(-1, 10, 800, 0, "Arial Narrow") GUICtrlSetColor(-1, 0x000000) GUICtrlCreateGroup("", -99, -99, 1, 1) $Button11 = GUICtrlCreateButton("MSN Messenger", 304, 128, 123, 17, $WS_GROUP) GUICtrlSetCursor (-1, 0) $Button12 = GUICtrlCreateButton("Skype", 304, 152, 123, 17, $WS_GROUP) GUICtrlSetCursor (-1, 0) $Button13 = GUICtrlCreateButton("Photoshop CS5", 304, 56, 123, 17, $WS_GROUP) GUICtrlSetCursor (-1, 0) $Button14 = GUICtrlCreateButton("iTunes", 304, 104, 123, 17, $WS_GROUP) GUICtrlSetCursor (-1, 0) $Button15 = GUICtrlCreateButton("Mozilla Firefox", 304, 80, 123, 17, $WS_GROUP) GUICtrlSetCursor (-1, 0) $Group3 = GUICtrlCreateGroup("Applications", 296, 32, 137, 145) GUICtrlSetFont(-1, 10, 800, 0, "Arial Narrow") GUICtrlSetColor(-1, 0x000000) GUICtrlCreateGroup("", -99, -99, 1, 1) $Button16 = GUICtrlCreateButton("Soul Community", 448, 104, 123, 17, $WS_GROUP) GUICtrlSetCursor (-1, 0) $Button18 = GUICtrlCreateButton("Cyril", 448, 80, 123, 17, $WS_GROUP) GUICtrlSetCursor (-1, 0) $Button19 = GUICtrlCreateButton("Cheat-Gam3", 448, 128, 123, 17, $WS_GROUP) GUICtrlSetCursor (-1, 0) $Button20 = GUICtrlCreateButton("Render Graphique", 448, 152, 123, 17, $WS_GROUP) GUICtrlSetCursor (-1, 0) $Group4 = GUICtrlCreateGroup("Dossiers et URL", 440, 32, 137, 145) GUICtrlSetFont(-1, 10, 800, 0, "Arial Narrow") GUICtrlSetColor(-1, 0x000000) GUICtrlCreateGroup("", -99, -99, 1, 1) $Button21 = GUICtrlCreateButton("Eteindre le PC", 304, 200, 123, 17, $WS_GROUP) GUICtrlSetCursor (-1, 0) $Button22 = GUICtrlCreateButton("Redémarrer le PC", 304, 224, 123, 17, $WS_GROUP) GUICtrlSetCursor (-1, 0) $Group5 = GUICtrlCreateGroup("Options Supplémentaires", 8, 184, 425, 65) GUICtrlSetFont(-1, 10, 800, 0, "Arial Narrow") GUICtrlSetColor(-1, 0x000000) GUICtrlCreateGroup("", -99, -99, 1, 1) $Label5 = GUICtrlCreateLabel(@HOUR & " Heures " & @MIN & " Minutes", 480, 208, 101, 22) GUICtrlSetFont(-1, 12, 400, 0, "Juice ITC") GUICtrlSetColor(-1, 0x000000) GUICtrlSetTip(-1, "Vous avez démarré le logiciel " & @HOUR & " Heures " & @MIN & " Minutes") $Label4 = GUICtrlCreateLabel("Cliquez sur un de ces deux boutons engendre un action ", 16, 208, 270, 17) $Label7 = GUICtrlCreateLabel("irréversible. Pensez donc à enregistrer ce que vous faites.", 16, 224, 276, 17) $Label8 = GUICtrlCreateLabel("Ouverture du logiciel à:", 440, 192, 133, 19) GUICtrlSetFont(-1, 10, 400, 0, "Gentium Book Basic") GUICtrlSetColor(-1, 0x000000) $Label9 = GUICtrlCreateLabel("PREVU POUR:", 152, 136, 63, 20) GUICtrlSetFont(-1, 10, 400, 0, "Freestyle Script") GUICtrlSetColor(-1, 0x000000) $Label10 = GUICtrlCreateLabel("Kagami &and Saichin", 176, 152, 115, 25) GUICtrlSetFont(-1, 14, 400, 0, "Juice ITC") GUICtrlSetColor(-1, 0x000000) GUICtrlSetTip(-1, "Les bouton ont été fixé par rapport à l'ordinateur de Kagami et de Saichin") $MENUBAR = GUICtrlCreateMenu("Raccourcis") $Externe = GUICtrlCreateMenu("Externe", $MENUBAR) $ExtF = GUICtrlCreateMenuItem("USB (F:)", $Externe) $ExtG = GUICtrlCreateMenuItem("USB (G:)", $Externe) $ExtH = GUICtrlCreateMenuItem("USB (H:)", $Externe) $ExtC = GUICtrlCreateMenuItem("Disque Dur (C:)", $Externe) $ExtD = GUICtrlCreateMenuItem("Lecteur de Disque", $Externe) $Jeux = GUICtrlCreateMenu("Jeux", $MENUBAR) $JeuxS4 = GUICtrlCreateMenuItem("S4 League", $Jeux) $JeuxD = GUICtrlCreateMenuItem("Dofus", $Jeux) $JeuxDA = GUICtrlCreateMenuItem("Dofus Arena", $Jeux) $Appli = GUICtrlCreateMenu("Applications", $MENUBAR) $AppliCS5 = GUICtrlCreateMenuItem("Photoshop CS5", $Appli) $AppliiTunes = GUICtrlCreateMenuItem("iTunes", $Appli) $AppliMsn = GUICtrlCreateMenuItem("MSN Messenger", $Appli) $AppliSkype = GUICtrlCreateMenuItem("Skype", $Appli) $Dossier = GUICtrlCreateMenu("Dossiers et URL", $MENUBAR) $DosE = GUICtrlCreateMenuItem("Carte SD (E:)", $Dossier) $DosCyril = GUICtrlCreateMenuItem("Cyril", $Dossier) $MENUBAR2 = GUICtrlCreateMenu("Aller à") $Menu2Google = GUICtrlCreateMenuItem("Google", $MENUBAR2) $Menu2SC = GUICtrlCreateMenuItem("Soul Community", $MENUBAR2) $Menu2CG3 = GUICtrlCreateMenuItem("Cheat-Gam3", $MENUBAR2) $Menu2RG = GUICtrlCreateMenuItem("Render Graphiques", $MENUBAR2) $MENUBAR3 = GUICtrlCreateMenu("Contrôle") $Eteindre = GUICtrlCreateMenuItem("Eteindre de l'ordinateur", $MENUBAR3) $Redemarrage = GUICtrlCreateMenuItem("Redémarrer l'ordinateur", $MENUBAR3) $CREDITS = GUICtrlCreateMenuItem("Credits", -1) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### ;------------------------------------------------------------------------------------------ ; SCRIPT ;------------------------------------------------------------------------------------------ While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $Button1 Sleep(200) ShellExecute("E:") Case $Button3 Sleep(200) ShellExecute("F:") Case $Button2 Sleep(200) ShellExecute("G:") Case $Button4 Sleep(200) ShellExecute("H:") Case $Button5 Sleep(200) ShellExecute("C:") Case $Button6 ShellExecute("C:\Program Files (x86)\alaplaya\S4League\patcher_s4.exe", "", "C:\Program Files (x86)\alaplaya\S4League\") Case $Button7 ShellExecute("C:\Program Files (x86)\Dofus 2\app\UpLauncherD.exe", "", "C:\Program Files (x86)\Dofus 2\app\") Case $Button8 ShellExecute("C:\Program Files (x86)\DofusArena\UpLauncher.exe", "", "C:\Program Files (x86)\DofusArena") Case $Button11 ShellExecute("C:\Program Files (x86)\Windows Live\Messenger\msnmsgr.exe", "", "C:\Program Files (x86)\Windows Live\Messenger\") Case $Button12 ShellExecute("C:\Program Files (x86)\Skype\Phone\Skype.exe", "", "C:\Program Files (x86)\Skype\Phone\") Case $Button13 ShellExecute("E:\Cyril\Graph\Photoshop CS5\App\PhotoshopCS5\Photoshop.exe", "", "E:\Cyril\Graph\Photoshop CS5\App\PhotoshopCS5\") Case $Button14 ShellExecute("C:\Program Files (x86)\iTunes\iTunes.exe", "", "C:\Program Files (x86)\iTunes\") Case $Button15 _RunDOS("Start http://google.fr") Case $Button18 ShellExecute("C:\Users\Kagami\Desktop\Cyril") Case $Button17 Sleep(200) CDTray("D:", "open") Case $Button16 Sleep(200) _RunDOS("Start http://bleachrpg.forum-actif.eu") Case $Button19 Sleep(200) _RunDOS("Start http://www.cheat-gam3.com/") Case $Button20 Sleep(200) _RunDOS("Start http://www.renders-graphiques.fr/forum") Case $Button21 Sleep(200) Shutdown(5) Case $Button22 Sleep(200) Shutdown(6) ;------------------------------------MENU------------------------------------ Case $DosE Sleep(200) ShellExecute("E:") Case $ExtF Sleep(200) ShellExecute("F:") Case $ExtG Sleep(200) ShellExecute("G:") Case $ExtH Sleep(200) ShellExecute("H:") Case $ExtC Sleep(200) ShellExecute("C:") Case $JeuxS4 ShellExecute("C:\Program Files (x86)\alaplaya\S4League\patcher_s4.exe", "", "C:\Program Files (x86)\alaplaya\S4League\") Case $JeuxD ShellExecute("C:\Program Files (x86)\Dofus 2\app\UpLauncherD.exe", "", "C:\Program Files (x86)\Dofus 2\app\") Case $JeuxDA ShellExecute("C:\Program Files (x86)\DofusArena\UpLauncher.exe", "", "C:\Program Files (x86)\DofusArena") Case $AppliMsn ShellExecute("C:\Program Files (x86)\Windows Live\Messenger\msnmsgr.exe", "", "C:\Program Files (x86)\Windows Live\Messenger\") Case $AppliSkype ShellExecute("C:\Program Files (x86)\Skype\Phone\Skype.exe", "", "C:\Program Files (x86)\Skype\Phone\") Case $AppliCS5 ShellExecute("E:\Cyril\Graph\Photoshop CS5\App\PhotoshopCS5\Photoshop.exe", "", "E:\Cyril\Graph\Photoshop CS5\App\PhotoshopCS5\") Case $AppliiTunes ShellExecute("C:\Program Files (x86)\iTunes\iTunes.exe", "", "C:\Program Files (x86)\iTunes\") Case $Menu2Google _RunDOS("Start http://google.fr") Case $DosCyril ShellExecute("C:\Users\Kagami\Desktop\Cyril") Case $ExtD Sleep(200) CDTray("D:", "open") Case $Menu2SC Sleep(200) _RunDOS("Start http://bleachrpg.forum-actif.eu") Case $Menu2CG3 Sleep(200) _RunDOS("Start http://www.cheat-gam3.com/") Case $Menu2RG Sleep(200) _RunDOS("Start http://www.renders-graphiques.fr/forum") Case $Eteindre Sleep(200) Shutdown(5) Case $Redemarrage Sleep(200) Shutdown(6) Case $CREDITS MsgBox(262208, "Credits", "Codé par Kagami Tsuki" & @CRLF & "Remerciements à: OoO et Seigneur Belial") Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd