Advertisement
rcmaehl

Driver Utilities

Oct 31st, 2014
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 5.12 KB | None | 0 0
  1. #include <GUIConstants.au3>
  2. Const $ver = 0.03
  3. #cs
  4.  
  5. TODO
  6.  
  7.   1. ACTUALLY DETECT DRIVERS and open webpages based on them
  8.   2. Search the Hardware IDs of unknown drivers to find it's manufacturer and open the correct webpage for that driver
  9.   3. Driver Updating
  10.  
  11. Changelog
  12.  
  13.   0.02 -> 0.03
  14.     - Added Tabs
  15.     - Added Asus, ASRock, Acer
  16.  
  17.   0.01 -> 0.02
  18.     - Fixed Atheros and Qualcomm buttons linking to the Realtek website
  19.     - Added NVIDIA
  20.  
  21. #ce
  22.  
  23. GUICreate("Driver Utilities - Version " & $ver, 500, 365)
  24.  
  25. GUICtrlCreateTab(0, 0, 500, 365)
  26. GUICtrlCreateTabItem("Chipset")
  27. $AMD       = GUICtrlCreateButton("Install / Update an AMD Driver"     , 5, 030, 490, 30)
  28. $Intel     = GUICtrlCreateButton("Install / Update an Intel Driver"   , 5, 060, 490, 30)
  29. $NVIDIA    = GUICtrlCreateButton("Install / Update a NVIDIA Driver"   , 5, 090, 490, 30)
  30. $VIAtech   = GUICtrlCreateButton("Install / Update a VIAtech Driver"  , 5, 120, 490, 30)
  31. GUICtrlCreateTabItem("CPU")
  32. $AMD       = GUICtrlCreateButton("Install / Update an AMD Driver"     , 5, 030, 490, 30)
  33. $Intel     = GUICtrlCreateButton("Install / Update an Intel Driver"   , 5, 060, 490, 30)
  34. GUICtrlCreateTabItem("Display")
  35. GUICtrlCreateTabItem("GPU")
  36. $AMD       = GUICtrlCreateButton("Install / Update an AMD Driver"     , 5, 030, 490, 30)
  37. $NVIDIA    = GUICtrlCreateButton("Install / Update a NVIDIA Driver"   , 5, 060, 490, 30)
  38. GUICtrlCreateTabItem("HDD")
  39. GUICtrlCreateTabItem("Joystick")
  40. GUICtrlCreateTabItem("Keyboard")
  41. $Microsoft = GUICtrlCreateButton("Install / Update a Microsoft Driver", 5, 030, 490, 30)
  42. GUICtrlCreateTabItem("Motherboard")
  43. $Acer      = GUICtrlCreateButton("Install / Update an Acer Driver"    , 5, 030, 490, 30)
  44. $ASRock    = GUICtrlCreateButton("Install / Update an ASRock Driver"  , 5, 060, 490, 30)
  45. $Asus      = GUICtrlCreateButton("Install / Update an Asus Driver"    , 5, 090, 490, 30)
  46. GUICtrlCreateTabItem("Mouse")
  47. GUICtrlCreateTabItem("Network")
  48. $Atheros   = GUICtrlCreateButton("Install / Update an Atheros Driver" , 5, 030, 490, 30)
  49. $Broadcom  = GUICtrlCreateButton("Install / Update a Broadcom Driver" , 5, 060, 490, 30)
  50. $Intel     = GUICtrlCreateButton("Install / Update an Intel Driver"   , 5, 090, 490, 30)
  51. $Qualcomm  = GUICtrlCreateButton("Install / Update a Qualcomm Driver" , 5, 120, 490, 30)
  52. $Realtek   = GUICtrlCreateButton("Install / Update a Realtek Driver"  , 5, 150, 490, 30)
  53. $VIAtech   = GUICtrlCreateButton("Install / Update a VIAtech Driver"  , 5, 180, 490, 30)
  54. GUICtrlCreateTabItem("Optical Drive")
  55. GUICtrlCreateTabItem("Printer")
  56. GUICtrlCreateTabItem("RAID")
  57. GUICtrlCreateTabItem("Sound Card")
  58. $Sabrent   = GUICtrlCreateButton("Install / Update a Sabrent Driver"  , 5, 030, 490, 30)
  59. GUICtrlCreateTabItem("SSD")
  60. GUICtrlCreateTabItem("TV Tuner")
  61. $Hauppauge = GUICtrlCreateButton("Install / Update a Hauppauge Driver", 5, 030, 490, 30)
  62. GUICtrlCreateTabItem("Webcam")
  63.  
  64. ;$AMD       = GUICtrlCreateButton("Install / Update an AMD Driver"     , 5, 030, 490, 30)
  65. ;$Atheros   = GUICtrlCreateButton("Install / Update an Atheros Driver" , 5, 060, 490, 30)
  66. ;$Broadcom  = GUICtrlCreateButton("Install / Update a Broadcom Driver" , 5, 090, 490, 30)
  67. ;$Hauppauge = GUICtrlCreateButton("Install / Update a Hauppauge Driver", 5, 120, 490, 30)
  68. ;$Intel     = GUICtrlCreateButton("Install / Update an Intel Driver"   , 5, 150, 490, 30)
  69. ;$Microsoft = GUICtrlCreateButton("Install / Update a Microsoft Driver", 5, 180, 490, 30)
  70. ;$NVIDIA    = GUICtrlCreateButton("Install / Update a NVIDIA Driver"   , 5, 210, 490, 30)
  71. ;$Qualcomm  = GUICtrlCreateButton("Install / Update a Qualcomm Driver" , 5, 240, 490, 30)
  72. ;$Realtek   = GUICtrlCreateButton("Install / Update a Realtek Driver"  , 5, 270, 490, 30)
  73. ;$Sabrent   = GUICtrlCreateButton("Install / Update a Sabrent Driver"  , 5, 300, 490, 30)
  74. ;$VIAtech   = GUICtrlCreateButton("Install / Update a VIAtech Driver"  , 5, 330, 490, 30)
  75. GUICtrlCreateTabItem("")
  76.  
  77. GUISetState()
  78.  
  79. While 1
  80.     $Msg = GUIGetMsg()
  81.     Select
  82.         Case $Msg = $GUI_EVENT_CLOSE
  83.             Exit(0)
  84.         Case $Msg = $Acer
  85.             ShellExecute("http://us.acer.com/ac/en/US/content/drivers")
  86.         Case $Msg = $AMD
  87.             ShellExecute("http://support.amd.com/en-us/download/auto-detect-tool")
  88.         Case $Msg = $ASRock
  89.             ShellExecute("http://www.asrock.com/support/download.us.asp")
  90.         Case $Msg = $Asus
  91.             ShellExecute("http://www.service.asus.com/#!downloads")
  92.         Case $Msg = $Atheros or $Msg = $Qualcomm
  93.             ShellExecute("http://www.qca.qualcomm.com/resources/driverdownloads/")
  94.         Case $Msg = $Broadcom
  95.             ShellExecute("http://www.broadcom.com/support/")
  96.         Case $Msg = $Hauppauge
  97.             ShellExecute("http://www.hauppauge.com/site/support/support.html")
  98.         Case $Msg = $Intel
  99.             ShellExecute("http://www.intel.com/p/en_US/support/detect")
  100.         Case $Msg = $Microsoft
  101.             ShellExecute("www.microsoft.com/hardware/en-us/downloads")
  102.         Case $Msg = $NVIDIA
  103.             ShellExecute("http://www.nvidia.com/Download/Scan.aspx?lang=en-us")
  104.         Case $Msg = $Realtek
  105.             ShellExecute("http://www.realtek.com.tw/downloads/")
  106.         Case $Msg = $Sabrent
  107.             ShellExecute("http://www.sabrent.com/downloads.php")
  108.         Case $Msg = $VIAtech
  109.             ShellExecute("http://www.via.com.tw/en/support/drivers.jsp")
  110.         Case Else
  111.             ;;;
  112.     EndSelect
  113. WEnd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement