aidomars  [more=скрипт]; <COMPILER: v1.0.48.3> 
 Gui, Font, S9 CDefault, Segoe UI 
 Gui, Add, Button, x32 y130 w130 h30 gSetHotkey, Run Utility 
 Gui, Add, Button, x202 y130 w130 h30 , Exit 
 Gui, Add, Text, x21 y20 w332 h81 , This portable utility re-registers all the concerned Windows Media dll files required for the smooth functioning of Windows Media Player. If you are facing any issues or getting any error message while running Windows Media Player, run this utility. 
 Gui, Add, GroupBox, x11 y3 w353 h108 , 
 Gui, Add, Text, x203 y178 w50 h20 , Publisher : 
 Gui, Add, Text, x260 y178 w100 h20 cBlue gLink1 vURL_Link1, The Windows Club   
 Gui, Show, x127 y87 h204 w378, Fix WMP Utility v 1.0 
 Return         
   Process, Exist 
   pid_this := ErrorLevel     
   WinGet, hw_gui, ID, ahk_class AutoHotkeyGUI ahk_pid %pid_this%     
   WM_SETCURSOR = 0x20 
   OnMessage(WM_SETCURSOR, "HandleMessage")     
   WM_MOUSEMOVE = 0x200 
   OnMessage(WM_MOUSEMOVE, "HandleMessage") 
 Return       
 ButtonExit: 
 ExitApp   
 SetHotkey: 
 Run, regsvr32 msdxm.ocx /s 
 Run, regsvr32 dxmasf.dll /s 
 Run, regsvr32 wmp.dll /s /s 
 Run, regsvr32 wmpcm.dll /s 
 Run, regsvr32 wmpcm.dll /s 
 Run, regsvr32 wmpdxm.dll /s 
 Run, regsvr32 wmpdxm.dll /s 
 Run, regsvr32 wmpeffects.dll /s 
 Run, regsvr32 WMPEncEn.dll /s 
 Run, regsvr32 WMPhoto.dll /s 
 Run, regsvr32 wmpmde.dll /s 
 Run, regsvr32 wmpps.dll /s 
 Run, regsvr32 wmpshell.dll /s 
 Run, regsvr32 wmpsrcwp.dll /s 
 Run, regsvr32 WMVENCOD.dll /s 
 Run, regsvr32 WMVSDECD.dll /s 
 Run, regsvr32 WMVXENCD.dll /s 
 Run, regsvr32 WMADMOD.dll /s 
 Run, regsvr32 WMADMOE.dll /s 
 Run, regsvr32 wmcodecdspps.dll /s 
 Run, regsvr32 wmdmlog.dll /s 
 Run, regsvr32 wmdmps.dll /s 
 Run, regsvr32 wmdrmdev.dll /s 
 Run, regsvr32 wmdrmnet.dll /s 
 Run, regsvr32 wmdrmsdk.dll /s 
 Run, regsvr32 WMSPDMOD.dll /s 
 Run, regsvr32 WMSPDMOE.dll /s 
 Run, regsvr32 WMVDECOD.dll /s 
 Run, regsvr32 wmvdspa.dll /s 
 Run, regsvr32 WMVCORE.dll /s 
 Run, regsvr32 MFPlay.dll /s 
 Run, regsvr32 MFWMAAEC.dll /s 
 Run, regsvr32 MP3DMOD.dll /s 
 Run, regsvr32 MP43DECD.dll /s 
 Run, regsvr32 MP4SDECD.dll /s 
 Run, regsvr32 MPG4DECD.dll /s 
 Run, regsvr32 mfds.dll /s 
 Run, regsvr32 mfh264enc.dll /s 
 Run, regsvr32 mfps.dll /s 
 Run, regsvr32 mfvdsp.dll /s 
 Run, regsvr32 MSAC3ENC.dll /s 
 Run, regsvr32 msmpeg2adec.dll /s 
 Run, regsvr32 MSMPEG2ENC.dll /s 
 Run, regsvr32 msmpeg2vdec.dll /s 
 Msgbox Re-registered all files 
 ExitApp 
 return           
 Link1: 
   Run, 
http://www.thewindowsclub.com/  Return             
 HandleMessage(p_w, p_l, p_m, p_hw) 
   { 
     global   WM_SETCURSOR, WM_MOUSEMOVE, 
     static   URL_hover, h_cursor_hand, h_old_cursor, CtrlIsURL, LastCtrl   
     If (p_m = WM_SETCURSOR) 
       { 
         If URL_hover 
           Return, true 
       } 
     Else If (p_m = WM_MOUSEMOVE) 
       {   
         StringLeft, CtrlIsURL, A_GuiControl, 3 
         If (CtrlIsURL = "URL") 
           { 
             If URL_hover= 
               { 
                 Gui, Font, cBlue underline 
                 GuiControl, Font, %A_GuiControl% 
                 LastCtrl = %A_GuiControl%   
                 h_cursor_hand := DllCall("LoadCursor", "uint", 0, "uint", 32649)   
                 URL_hover := true 
               } 
               h_old_cursor := DllCall("SetCursor", "uint", h_cursor_hand) 
           }   
         Else 
           { 
             If URL_hover 
               { 
                 Gui, Font, norm cBlue 
                 GuiControl, Font, %LastCtrl%   
                 DllCall("SetCursor", "uint", h_old_cursor)   
                 URL_hover= 
               } 
           } 
       } 
   }         
 GuiClose: 
 ExitApp   
 [/more]