bang Posted February 4, 2006 Share Posted February 4, 2006 a new motherboard to xp some do do some things plz try it and answer me abaut it! expandcollapse popup#region #include<guiconstants.au3> GuiCreate("Createt by Kasper Morberg Bang", 417, 334,(@DesktopWidth-417)/2, (@DesktopHeight-334)/2 , $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS) $Button_1 = GuiCtrlCreateButton("Hider læs hjørner", 10, 10, 100, 70) $Button_2 = GuiCtrlCreateButton("msconfig", 120, 10, 90, 70) $Button_3 = GuiCtrlCreateButton("outlook", 220, 10, 90, 70) $Button_4 = GuiCtrlCreateButton("Open Paint", 320, 10, 90, 70) $Button_5 = GuiCtrlCreateButton("regedit", 10, 90, 100, 70) $Button_6 = GuiCtrlCreateButton("outlook", 120, 90, 90, 70) $Button_7 = GuiCtrlCreateButton("internet", 220, 90, 90, 70) $Button_8 = GuiCtrlCreateButton("windowsm player", 320, 90, 90, 70) $Button_9 = GuiCtrlCreateButton("calc machine", 10, 170, 100, 70) $Button_10 = GuiCtrlCreateButton("winmine", 120, 170, 90, 70) $Button_11 = GuiCtrlCreateButton("minimate", 220, 170, 90, 70) $Button_12 = GUICtrlCreateButton("noteopad", 320, 170, 90, 70) $Button_13 = GuiCtrlCreateButton("open cmd", 10, 250, 100, 70) $Button_14 = GuiCtrlCreateButton("log off", 120, 250, 90, 70) $Button_15 = GuiCtrlCreateButton("restart your pc", 220, 250, 90, 70) $Button_16 = GuiCtrlCreateButton("shutdown your pc", 320, 250, 90, 70) GuiSetState() While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $Button_1 HotKeySet("{ESC}","terminate") HotKeySet("{pgdn}","hide") HotKeySet("{pgup}","unhide") ToolTip("hider online hide Pgedown unhide on pageUP Shut down on ESC",0,0) Case $msg = $Button_2 Send("#r") Sleep(25) Send("msconfig") sleep(25) Send("{enter}") Case $msg = $Button_3 Send("#r") Sleep(25) Send("msimn.exe") Sleep(25) Send("{enter}") Case $msg = $Button_4 Run("mspaint.exe") Case $msg = $Button_5 Run("regedit.exe") Case $msg = $Button_6 Send("#r") Sleep(25) Send("msimn.exe") Sleep(25) Send("{enter}") Case $msg = $Button_7 Send("#r") Sleep(25) Send("IEXPLORE.EXE") Sleep(25) Send("{enter}") Case $msg = $Button_8 Send("#r") Sleep(25) Send("wmplayer.exe") Sleep(25) Send("{enter}") Case $msg = $Button_9 Run("calc.exe") Case $msg = $Button_10 Run("winmine.exe") Case $msg = $Button_11 minimaze() Case $msg = $Button_12 Run("notepad.exe") Case $msg = $Button_13 Run("cmd.exe") Case $msg = $Button_14 MsgBox(0,"log off","log off now",3) shutdown(0) Case $msg = $Button_15 MsgBox(0,"restart","your pc will restart now!",3) Run("cmd.exe") Sleep(25) Send("shutdown -r") Sleep(25) Send("{enter}") Case $msg = $Button_16 MsgBox(0,"shutdown","the pc will shutdown not!",3) Shutdown(1) Case Else ;;; EndSelect WEnd Func hide() WinSetState("","",@SW_HIDE) EndFunc Func unhide() WinSetState("","",@SW_SHOW) EndFunc Func terminate() ToolTip("hider off",0,0) sleep(2000) Exit 0 EndFunc Func minimaze() WinSetState("Createt by Kasper Morberg Bang","",@SW_MINIMIZE) EndFunc Exit #endregion done try it Link to comment Share on other sites More sharing options...
Pa Callender Posted August 9, 2006 Share Posted August 9, 2006 AutoIt can't make motherboards. A motherboard is the main circuitboard in a computer, connecting most of the internal components together (hard drive, soundcard, ethernet card, modem, B.I.O.S. Chip, etc.) and the ports (printer port, serial port, U.S.B. ports, etc.). What you have is an application launcher, not a motherboard. One tip - instead of: Send ( "#r" ) Sleep ( 25 ) Send ( $sExeToLaunch ) Sleep ( 25 ) Send ( "{enter}" )oÝ÷ Ù:ò¶¬jëh×6Run ( $sExeToLaunch ) Another thing - MSIMN.EXE isn't Outlook, it's Outlook Express, a completely different program. Try changing their names and removing the duplicate ( $Button_6 ). [size="4"]YOU SHALL NOT PARSE!![/size] Link to comment Share on other sites More sharing options...
WTS Posted August 9, 2006 Share Posted August 9, 2006 reminds me of one of my very firsts scripts. 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