回复 2# 对太阳微笑
非常感谢
#NoTrayIcon
#Region ;**** 参数创建于 ACNWrapper_GUI ****
#AutoIt3Wrapper_Icon=未标题-1.ico
#AutoIt3Wrapper_OutFile=HuaTV2.9.exe
#AutoIt3Wrapper_Compression=4
#AutoIt3Wrapper_Res_Comment=华彩联盟 睿派克论坛共同设计
#AutoIt3Wrapper_Res_Description=华彩联盟网络电视超越版V2.9
#AutoIt3Wrapper_Res_FileVersion=2.9.690.2011
#AutoIt3Wrapper_Res_LegalCopyright=All Right Reserved roustar31设计
#AutoIt3Wrapper_Res_SaveSource=y
#AutoIt3Wrapper_Res_Field=CompanyName|http://www.huacolor.com
#AutoIt3Wrapper_Au3Check_Stop_OnWarning=y
#AutoIt3Wrapper_Run_Tidy=y
#EndRegion ;**** 参数创建于 ACNWrapper_GUI ****
#Region AutoIt3Wrapper 预编译参数(常用参数)
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <IE.au3>
#include <WinAPI.au3>
Global Const $SC_MOVE = 0xF010
If FileExists(@TempDir & "\huatv") = 1 Then
DirRemove(@TempDir & "\huatv", 1)
DirCreate(@TempDir & "\huatv")
Else
DirCreate(@TempDir & "\huatv")
EndIf
$Form1 = GUICreate("华彩联盟网络电视超越版V2.9", 900, 548, -1, -1)
GUISetBkColor(0xFFFFFF)
FileInstall("ty.gif", @TempDir & "\huatv\ty.gif")
FileInstall("tl.jpg", @TempDir & "\huatv\tl.jpg")
FileInstall("tl1.jpg", @TempDir & "\huatv\tl1.jpg")
FileInstall("ws.jpg", @TempDir & "\huatv\ws.jpg")
FileInstall("ws1.jpg", @TempDir & "\huatv\ws1.jpg")
FileInstall("rp.jpg", @TempDir & "\huatv\rp.jpg")
FileInstall("rp1.jpg", @TempDir & "\huatv\rp1.jpg")
FileInstall("hd.jpg", @TempDir & "\huatv\hd.jpg")
FileInstall("hd1.jpg", @TempDir & "\huatv\hd1.jpg")
FileInstall("hc.jpg", @TempDir & "\huatv\hc.jpg")
FileInstall("hc1.jpg", @TempDir & "\huatv\hc1.jpg")
FileInstall("sf.jpg", @TempDir & "\huatv\sf.jpg")
FileInstall("sf1.jpg", @TempDir & "\huatv\sf1.jpg")
FileInstall("ty1.gif", @TempDir & "\huatv\ty1.gif")
$pic0 = GUICtrlCreatePic(@TempDir & "\huatv\tl.jpg", 0, 0, 900, 20)
GUICtrlSetCursor(-1, 0)
$Pic1 = GUICtrlCreatePic(@TempDir & "\huatv\ty.gif", 12, 28, 120, 31)
GUICtrlSetCursor(-1, 0)
$Pic2 = GUICtrlCreatePic(@TempDir & "\huatv\ws.jpg", 150, 26, 131, 34)
GUICtrlSetCursor(-1, 0)
$Pic3 = GUICtrlCreatePic(@TempDir & "\huatv\rp.jpg", 295, 26, 131, 34)
GUICtrlSetCursor(-1, 0)
$Pic4 = GUICtrlCreatePic(@TempDir & "\huatv\hd.jpg", 450, 28, 131, 34)
GUICtrlSetCursor(-1, 0)
$Pic5 = GUICtrlCreatePic(@TempDir & "\huatv\hc.jpg", 605, 28, 131, 34)
GUICtrlSetCursor(-1, 0)
$Pic6 = GUICtrlCreatePic(@TempDir & "\huatv\sf.jpg", 760, 28, 131, 34)
GUICtrlSetCursor(-1, 0)
$oIE = ObjCreate("Shell.Explorer.2")
$GUIActiveX = GUICtrlCreateObj($oIE, 0, 66, 900, 485)
$oIE.navigate("http://tv.repaik.com")
GUISetState(@SW_SHOW, $Form1)
While 1
$ID = GUIGetCursorInfo($Form1)
If $ID[4] = $Pic1 Then
GUICtrlSetImage($Pic1, @TempDir & "\huatv\ty1.gif")
Else
GUICtrlSetImage($Pic1, @TempDir & "\huatv\ty.gif")
EndIf
If $ID[4] = $pic0 Then
GUICtrlSetImage($pic0, @TempDir & "\huatv\tl1.jpg")
Else
GUICtrlSetImage($pic0, @TempDir & "\huatv\tl.jpg")
EndIf
If $ID[4] = $Pic2 Then
GUICtrlSetImage($Pic2, @TempDir & "\huatv\ws1.jpg")
Else
GUICtrlSetImage($Pic2, @TempDir & "\huatv\ws.jpg")
EndIf
If $ID[4] = $Pic3 Then
GUICtrlSetImage($Pic3, @TempDir & "\huatv\rp1.jpg")
Else
GUICtrlSetImage($Pic3, @TempDir & "\huatv\rp.jpg")
EndIf
If $ID[4] = $Pic4 Then
GUICtrlSetImage($Pic4, @TempDir & "\huatv\hd1.jpg")
Else
GUICtrlSetImage($Pic4, @TempDir & "\huatv\hd.jpg")
EndIf
If $ID[4] = $Pic5 Then
GUICtrlSetImage($Pic5, @TempDir & "\huatv\hc1.jpg")
Else
GUICtrlSetImage($Pic5, @TempDir & "\huatv\hc.jpg")
EndIf
If $ID[4] = $Pic6 Then
GUICtrlSetImage($Pic6, @TempDir & "\huatv\sf1.jpg")
Else
GUICtrlSetImage($Pic6, @TempDir & "\huatv\sf.jpg")
EndIf
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
DirRemove(@TempDir & "\huatv", 1)
GUIDelete($GUIActiveX)
GUIDelete($Form1)
Exit
Case $GUI_EVENT_PRIMARYDOWN
_SendMessage($Form1, $WM_SYSCOMMAND, $SC_MOVE + $HTCAPTION, 0)
Case $Pic1
$oIE.navigate("http://www.netitv.com/a_flash/tysx_1_2/livelistTV/livePlayer.html")
Case $Pic2
$oIE.navigate("http://www.topway.cn/livetv/livetv.jsp")
Case $Pic3
$oIE.navigate("http://tv.repaik.com")
Case $Pic4
$oIE.navigate("http://tv.zqredstar.com/kan")
Case $Pic5
ShellExecute("http://www.huacolor.com")
Case $Pic6
ShellExecute("http://www.repaik.com")
EndSwitch
WEnd
|