Перейти из форума на сайт.

НовостиФайловые архивы
ПоискАктивные темыТоп лист
ПравилаКто в on-line?
Вход Забыли пароль? Первый раз на этом сайте? Регистрация
Компьютерный форум Ru.Board » Компьютеры » Программы » AutoHotkey

Модерирует : gyra, Maz

 Версия для печати • ПодписатьсяДобавить в закладки
На первую страницук этому сообщениюк последнему сообщению

Открыть новую тему     Написать ответ в эту тему

tahirg



Advanced Member
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
; <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
 

Всего записей: 1971 | Зарегистр. 23-03-2003 | Отправлено: 15:52 17-07-2011
Открыть новую тему     Написать ответ в эту тему

На первую страницук этому сообщениюк последнему сообщению

Компьютерный форум Ru.Board » Компьютеры » Программы » AutoHotkey


Реклама на форуме Ru.Board.

Powered by Ikonboard "v2.1.7b" © 2000 Ikonboard.com
Modified by Ru.B0ard
© Ru.B0ard 2000-2024

BitCoin: 1NGG1chHtUvrtEqjeerQCKDMUi6S6CG4iC

Рейтинг.ru