sllyjs
发表于 2011-11-9 08:40:05
感谢楼主提供怎么好用的软件
q511252885
发表于 2011-11-10 17:44:45
#AutoIt3Wrapper_outfile = ttpsetup_zd.exe
#AutoIt3Wrapper_Res_Description = 软件: 自动安装
#AutoIt3Wrapper_Res_Comment = 脚本生成于: 2011年 03月 16日
#Include <G:\Auto_Code\Resource\GuiLVTV.au3>
Opt("MouseCoordMode", 0)
Global $hListView, $Path_Fitx, $Path_Fit, $Nem_Path
$Path_Fitx = StringInStr ( ClipGet(), ":", 2 )
If $Path_Fitx = 0 Then
$Path_Fit = ""
Else
$Path_Fit = ClipGet()
EndIf
If FileExists("G:\Auto_Code\temp.txt") Then FileDelete("G:\Auto_Code\temp.txt")
$file = FileOpen("G:\Auto_Code\temp.txt", 1)
FileWriteLine($file, "ttpsetup.exe")
FileWriteLine($file, "ttpsetup_zd.exe")
FileClose($file)
Run(@ScriptDir &"\ttpsetup.exe")
WinWait("千千静听 5.7正式版 安装程序 Unicode","欢迎使用 千千静")
WinActivate("千千静听 5.7正式版 安装程序 Unicode","欢迎使用 千千静")
Sleep(250)
ControlClick( "千千静听 5.7正式版 安装程序 Unicode", "","Button2" )
WinWait("千千静听 5.7正式版 安装程序 Unicode","请仔细阅读以下的")
WinActivate("千千静听 5.7正式版 安装程序 Unicode","请仔细阅读以下的")
Sleep(250)
ControlClick( "千千静听 5.7正式版 安装程序 Unicode", "","Button2" )
WinWait("千千静听 5.7正式版 安装程序 Unicode","选择要安装的组件")
WinActivate("千千静听 5.7正式版 安装程序 Unicode","选择要安装的组件")
$TV_h = ControlGetHandle("千千静听 5.7正式版 安装程序 Unicode", "Tree1", "SysTreeView321")
$First = _GUICtrlTreeView_GetFirstItem($TV_h)
_GUICtrlTreeView_EnsureVisible($TV_h, $First)
Opt("MouseClickDelay", 600)
$Pos_String = StringTrimRight("64,23|", 1)
$Pos_Array = StringSplit($Pos_String, "|", 1)
For $i = 1 To $Pos_Array
$Pos_Temp = StringSplit($Pos_Array[$i], ",")
$TV_Item_h = _GUICtrlTreeView_HitTestItem($TV_h, $Pos_Temp, $Pos_Temp)
_GUICtrlTreeView_ClickItem($TV_h, $TV_Item_h, "left", False)
_GUICtrlTreeView_SetFocused($TV_h, $TV_Item_h, True)
If _GUICtrlTreeView_GetChildren($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_Expand($TV_h, $TV_Item_h, True)
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
Else
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
If _GUICtrlTreeView_GetChecked($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, False)
Else
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, True)
EndIf
EndIf
Next
MouseClick ( "left",65, 142, 1, 50 )
MouseClick ( "left",65, 160, 1, 50 )
MouseClick ( "left",65, 172, 1, 50 )
MouseClick ( "left",63, 190, 1, 50 )
MouseClick ( "left",63, 205, 1, 50 )
MouseClick ( "left",63, 222, 1, 50 )
MouseClick ( "left",64, 237, 1, 50 )
MouseClick ( "left",64, 254, 1, 50 )
MouseClick ( "left",64, 269, 1, 50 )
MouseClick ( "left",64, 285, 1, 50 )
$Pos_String = StringTrimRight("81,187|", 1)
$Pos_Array = StringSplit($Pos_String, "|", 1)
For $i = 1 To $Pos_Array
$Pos_Temp = StringSplit($Pos_Array[$i], ",")
$TV_Item_h = _GUICtrlTreeView_HitTestItem($TV_h, $Pos_Temp, $Pos_Temp)
_GUICtrlTreeView_ClickItem($TV_h, $TV_Item_h, "left", False)
_GUICtrlTreeView_SetFocused($TV_h, $TV_Item_h, True)
If _GUICtrlTreeView_GetChildren($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_Expand($TV_h, $TV_Item_h, True)
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
Else
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
If _GUICtrlTreeView_GetChecked($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, False)
Else
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, True)
EndIf
EndIf
Next
MouseClick ( "left",64, 188, 1, 50 )
MouseClick ( "left",64, 204, 1, 50 )
$Pos_String = StringTrimRight("49,203|", 1)
$Pos_Array = StringSplit($Pos_String, "|", 1)
For $i = 1 To $Pos_Array
$Pos_Temp = StringSplit($Pos_Array[$i], ",")
$TV_Item_h = _GUICtrlTreeView_HitTestItem($TV_h, $Pos_Temp, $Pos_Temp)
_GUICtrlTreeView_ClickItem($TV_h, $TV_Item_h, "left", False)
_GUICtrlTreeView_SetFocused($TV_h, $TV_Item_h, True)
If _GUICtrlTreeView_GetChildren($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_Expand($TV_h, $TV_Item_h, True)
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
Else
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
If _GUICtrlTreeView_GetChecked($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, False)
Else
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, True)
EndIf
EndIf
Next
MouseClick ( "left",64, 222, 1, 50 )
MouseClick ( "left",64, 239, 1, 50 )
MouseClick ( "left",64, 254, 1, 50 )
MouseClick ( "left",64, 271, 1, 50 )
MouseClick ( "left",63, 287, 1, 50 )
MouseClick ( "left",63, 304, 1, 50 )
MouseClick ( "left",63, 317, 1, 50 )#AutoIt3Wrapper_outfile = ttpsetup_zd.exe
#AutoIt3Wrapper_Res_Description = 软件: 自动安装
#AutoIt3Wrapper_Res_Comment = 脚本生成于: 2011年 03月 16日
#Include <G:\Auto_Code\Resource\GuiLVTV.au3>
Opt("MouseCoordMode", 0)
Global $hListView, $Path_Fitx, $Path_Fit, $Nem_Path
$Path_Fitx = StringInStr ( ClipGet(), ":", 2 )
If $Path_Fitx = 0 Then
$Path_Fit = ""
Else
$Path_Fit = ClipGet()
EndIf
If FileExists("G:\Auto_Code\temp.txt") Then FileDelete("G:\Auto_Code\temp.txt")
$file = FileOpen("G:\Auto_Code\temp.txt", 1)
FileWriteLine($file, "ttpsetup.exe")
FileWriteLine($file, "ttpsetup_zd.exe")
FileClose($file)
Run(@ScriptDir &"\ttpsetup.exe")
WinWait("千千静听 5.7正式版 安装程序 Unicode","欢迎使用 千千静")
WinActivate("千千静听 5.7正式版 安装程序 Unicode","欢迎使用 千千静")
Sleep(250)
ControlClick( "千千静听 5.7正式版 安装程序 Unicode", "","Button2" )
WinWait("千千静听 5.7正式版 安装程序 Unicode","请仔细阅读以下的")
WinActivate("千千静听 5.7正式版 安装程序 Unicode","请仔细阅读以下的")
Sleep(250)
ControlClick( "千千静听 5.7正式版 安装程序 Unicode", "","Button2" )
WinWait("千千静听 5.7正式版 安装程序 Unicode","选择要安装的组件")
WinActivate("千千静听 5.7正式版 安装程序 Unicode","选择要安装的组件")
$TV_h = ControlGetHandle("千千静听 5.7正式版 安装程序 Unicode", "Tree1", "SysTreeView321")
$First = _GUICtrlTreeView_GetFirstItem($TV_h)
_GUICtrlTreeView_EnsureVisible($TV_h, $First)
Opt("MouseClickDelay", 600)
$Pos_String = StringTrimRight("64,23|", 1)
$Pos_Array = StringSplit($Pos_String, "|", 1)
For $i = 1 To $Pos_Array
$Pos_Temp = StringSplit($Pos_Array[$i], ",")
$TV_Item_h = _GUICtrlTreeView_HitTestItem($TV_h, $Pos_Temp, $Pos_Temp)
_GUICtrlTreeView_ClickItem($TV_h, $TV_Item_h, "left", False)
_GUICtrlTreeView_SetFocused($TV_h, $TV_Item_h, True)
If _GUICtrlTreeView_GetChildren($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_Expand($TV_h, $TV_Item_h, True)
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
Else
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
If _GUICtrlTreeView_GetChecked($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, False)
Else
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, True)
EndIf
EndIf
Next
MouseClick ( "left",65, 142, 1, 50 )
MouseClick ( "left",65, 160, 1, 50 )
MouseClick ( "left",65, 172, 1, 50 )
MouseClick ( "left",63, 190, 1, 50 )
MouseClick ( "left",63, 205, 1, 50 )
MouseClick ( "left",63, 222, 1, 50 )
MouseClick ( "left",64, 237, 1, 50 )
MouseClick ( "left",64, 254, 1, 50 )
MouseClick ( "left",64, 269, 1, 50 )
MouseClick ( "left",64, 285, 1, 50 )
$Pos_String = StringTrimRight("81,187|", 1)
$Pos_Array = StringSplit($Pos_String, "|", 1)
For $i = 1 To $Pos_Array
$Pos_Temp = StringSplit($Pos_Array[$i], ",")
$TV_Item_h = _GUICtrlTreeView_HitTestItem($TV_h, $Pos_Temp, $Pos_Temp)
_GUICtrlTreeView_ClickItem($TV_h, $TV_Item_h, "left", False)
_GUICtrlTreeView_SetFocused($TV_h, $TV_Item_h, True)
If _GUICtrlTreeView_GetChildren($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_Expand($TV_h, $TV_Item_h, True)
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
Else
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
If _GUICtrlTreeView_GetChecked($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, False)
Else
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, True)
EndIf
EndIf
Next
MouseClick ( "left",64, 188, 1, 50 )
MouseClick ( "left",64, 204, 1, 50 )
$Pos_String = StringTrimRight("49,203|", 1)
$Pos_Array = StringSplit($Pos_String, "|", 1)
For $i = 1 To $Pos_Array
$Pos_Temp = StringSplit($Pos_Array[$i], ",")
$TV_Item_h = _GUICtrlTreeView_HitTestItem($TV_h, $Pos_Temp, $Pos_Temp)
_GUICtrlTreeView_ClickItem($TV_h, $TV_Item_h, "left", False)
_GUICtrlTreeView_SetFocused($TV_h, $TV_Item_h, True)
If _GUICtrlTreeView_GetChildren($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_Expand($TV_h, $TV_Item_h, True)
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
Else
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
If _GUICtrlTreeView_GetChecked($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, False)
Else
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, True)
EndIf
EndIf
Next
MouseClick ( "left",64, 222, 1, 50 )
MouseClick ( "left",64, 239, 1, 50 )
MouseClick ( "left",64, 254, 1, 50 )
MouseClick ( "left",64, 271, 1, 50 )
MouseClick ( "left",63, 287, 1, 50 )
MouseClick ( "left",63, 304, 1, 50 )
MouseClick ( "left",63, 317, 1, 50 )#AutoIt3Wrapper_outfile = ttpsetup_zd.exe
#AutoIt3Wrapper_Res_Description = 软件: 自动安装
#AutoIt3Wrapper_Res_Comment = 脚本生成于: 2011年 03月 16日
#Include <G:\Auto_Code\Resource\GuiLVTV.au3>
Opt("MouseCoordMode", 0)
Global $hListView, $Path_Fitx, $Path_Fit, $Nem_Path
$Path_Fitx = StringInStr ( ClipGet(), ":", 2 )
If $Path_Fitx = 0 Then
$Path_Fit = ""
Else
$Path_Fit = ClipGet()
EndIf
If FileExists("G:\Auto_Code\temp.txt") Then FileDelete("G:\Auto_Code\temp.txt")
$file = FileOpen("G:\Auto_Code\temp.txt", 1)
FileWriteLine($file, "ttpsetup.exe")
FileWriteLine($file, "ttpsetup_zd.exe")
FileClose($file)
Run(@ScriptDir &"\ttpsetup.exe")
WinWait("千千静听 5.7正式版 安装程序 Unicode","欢迎使用 千千静")
WinActivate("千千静听 5.7正式版 安装程序 Unicode","欢迎使用 千千静")
Sleep(250)
ControlClick( "千千静听 5.7正式版 安装程序 Unicode", "","Button2" )
WinWait("千千静听 5.7正式版 安装程序 Unicode","请仔细阅读以下的")
WinActivate("千千静听 5.7正式版 安装程序 Unicode","请仔细阅读以下的")
Sleep(250)
ControlClick( "千千静听 5.7正式版 安装程序 Unicode", "","Button2" )
WinWait("千千静听 5.7正式版 安装程序 Unicode","选择要安装的组件")
WinActivate("千千静听 5.7正式版 安装程序 Unicode","选择要安装的组件")
$TV_h = ControlGetHandle("千千静听 5.7正式版 安装程序 Unicode", "Tree1", "SysTreeView321")
$First = _GUICtrlTreeView_GetFirstItem($TV_h)
_GUICtrlTreeView_EnsureVisible($TV_h, $First)
Opt("MouseClickDelay", 600)
$Pos_String = StringTrimRight("64,23|", 1)
$Pos_Array = StringSplit($Pos_String, "|", 1)
For $i = 1 To $Pos_Array
$Pos_Temp = StringSplit($Pos_Array[$i], ",")
$TV_Item_h = _GUICtrlTreeView_HitTestItem($TV_h, $Pos_Temp, $Pos_Temp)
_GUICtrlTreeView_ClickItem($TV_h, $TV_Item_h, "left", False)
_GUICtrlTreeView_SetFocused($TV_h, $TV_Item_h, True)
If _GUICtrlTreeView_GetChildren($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_Expand($TV_h, $TV_Item_h, True)
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
Else
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
If _GUICtrlTreeView_GetChecked($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, False)
Else
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, True)
EndIf
EndIf
Next
MouseClick ( "left",65, 142, 1, 50 )
MouseClick ( "left",65, 160, 1, 50 )
MouseClick ( "left",65, 172, 1, 50 )
MouseClick ( "left",63, 190, 1, 50 )
MouseClick ( "left",63, 205, 1, 50 )
MouseClick ( "left",63, 222, 1, 50 )
MouseClick ( "left",64, 237, 1, 50 )
MouseClick ( "left",64, 254, 1, 50 )
MouseClick ( "left",64, 269, 1, 50 )
MouseClick ( "left",64, 285, 1, 50 )
$Pos_String = StringTrimRight("81,187|", 1)
$Pos_Array = StringSplit($Pos_String, "|", 1)
For $i = 1 To $Pos_Array
$Pos_Temp = StringSplit($Pos_Array[$i], ",")
$TV_Item_h = _GUICtrlTreeView_HitTestItem($TV_h, $Pos_Temp, $Pos_Temp)
_GUICtrlTreeView_ClickItem($TV_h, $TV_Item_h, "left", False)
_GUICtrlTreeView_SetFocused($TV_h, $TV_Item_h, True)
If _GUICtrlTreeView_GetChildren($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_Expand($TV_h, $TV_Item_h, True)
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
Else
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
If _GUICtrlTreeView_GetChecked($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, False)
Else
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, True)
EndIf
EndIf
Next
MouseClick ( "left",64, 188, 1, 50 )
MouseClick ( "left",64, 204, 1, 50 )
$Pos_String = StringTrimRight("49,203|", 1)
$Pos_Array = StringSplit($Pos_String, "|", 1)
For $i = 1 To $Pos_Array
$Pos_Temp = StringSplit($Pos_Array[$i], ",")
$TV_Item_h = _GUICtrlTreeView_HitTestItem($TV_h, $Pos_Temp, $Pos_Temp)
_GUICtrlTreeView_ClickItem($TV_h, $TV_Item_h, "left", False)
_GUICtrlTreeView_SetFocused($TV_h, $TV_Item_h, True)
If _GUICtrlTreeView_GetChildren($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_Expand($TV_h, $TV_Item_h, True)
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
Else
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
If _GUICtrlTreeView_GetChecked($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, False)
Else
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, True)
EndIf
EndIf
Next
MouseClick ( "left",64, 222, 1, 50 )
MouseClick ( "left",64, 239, 1, 50 )
MouseClick ( "left",64, 254, 1, 50 )
MouseClick ( "left",64, 271, 1, 50 )
MouseClick ( "left",63, 287, 1, 50 )
MouseClick ( "left",63, 304, 1, 50 )
MouseClick ( "left",63, 317, 1, 50 )#AutoIt3Wrapper_outfile = ttpsetup_zd.exe
#AutoIt3Wrapper_Res_Description = 软件: 自动安装
#AutoIt3Wrapper_Res_Comment = 脚本生成于: 2011年 03月 16日
#Include <G:\Auto_Code\Resource\GuiLVTV.au3>
Opt("MouseCoordMode", 0)
Global $hListView, $Path_Fitx, $Path_Fit, $Nem_Path
$Path_Fitx = StringInStr ( ClipGet(), ":", 2 )
If $Path_Fitx = 0 Then
$Path_Fit = ""
Else
$Path_Fit = ClipGet()
EndIf
If FileExists("G:\Auto_Code\temp.txt") Then FileDelete("G:\Auto_Code\temp.txt")
$file = FileOpen("G:\Auto_Code\temp.txt", 1)
FileWriteLine($file, "ttpsetup.exe")
FileWriteLine($file, "ttpsetup_zd.exe")
FileClose($file)
Run(@ScriptDir &"\ttpsetup.exe")
WinWait("千千静听 5.7正式版 安装程序 Unicode","欢迎使用 千千静")
WinActivate("千千静听 5.7正式版 安装程序 Unicode","欢迎使用 千千静")
Sleep(250)
ControlClick( "千千静听 5.7正式版 安装程序 Unicode", "","Button2" )
WinWait("千千静听 5.7正式版 安装程序 Unicode","请仔细阅读以下的")
WinActivate("千千静听 5.7正式版 安装程序 Unicode","请仔细阅读以下的")
Sleep(250)
ControlClick( "千千静听 5.7正式版 安装程序 Unicode", "","Button2" )
WinWait("千千静听 5.7正式版 安装程序 Unicode","选择要安装的组件")
WinActivate("千千静听 5.7正式版 安装程序 Unicode","选择要安装的组件")
$TV_h = ControlGetHandle("千千静听 5.7正式版 安装程序 Unicode", "Tree1", "SysTreeView321")
$First = _GUICtrlTreeView_GetFirstItem($TV_h)
_GUICtrlTreeView_EnsureVisible($TV_h, $First)
Opt("MouseClickDelay", 600)
$Pos_String = StringTrimRight("64,23|", 1)
$Pos_Array = StringSplit($Pos_String, "|", 1)
For $i = 1 To $Pos_Array
$Pos_Temp = StringSplit($Pos_Array[$i], ",")
$TV_Item_h = _GUICtrlTreeView_HitTestItem($TV_h, $Pos_Temp, $Pos_Temp)
_GUICtrlTreeView_ClickItem($TV_h, $TV_Item_h, "left", False)
_GUICtrlTreeView_SetFocused($TV_h, $TV_Item_h, True)
If _GUICtrlTreeView_GetChildren($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_Expand($TV_h, $TV_Item_h, True)
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
Else
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
If _GUICtrlTreeView_GetChecked($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, False)
Else
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, True)
EndIf
EndIf
Next
MouseClick ( "left",65, 142, 1, 50 )
MouseClick ( "left",65, 160, 1, 50 )
MouseClick ( "left",65, 172, 1, 50 )
MouseClick ( "left",63, 190, 1, 50 )
MouseClick ( "left",63, 205, 1, 50 )
MouseClick ( "left",63, 222, 1, 50 )
MouseClick ( "left",64, 237, 1, 50 )
MouseClick ( "left",64, 254, 1, 50 )
MouseClick ( "left",64, 269, 1, 50 )
MouseClick ( "left",64, 285, 1, 50 )
$Pos_String = StringTrimRight("81,187|", 1)
$Pos_Array = StringSplit($Pos_String, "|", 1)
For $i = 1 To $Pos_Array
$Pos_Temp = StringSplit($Pos_Array[$i], ",")
$TV_Item_h = _GUICtrlTreeView_HitTestItem($TV_h, $Pos_Temp, $Pos_Temp)
_GUICtrlTreeView_ClickItem($TV_h, $TV_Item_h, "left", False)
_GUICtrlTreeView_SetFocused($TV_h, $TV_Item_h, True)
If _GUICtrlTreeView_GetChildren($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_Expand($TV_h, $TV_Item_h, True)
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
Else
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
If _GUICtrlTreeView_GetChecked($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, False)
Else
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, True)
EndIf
EndIf
Next
MouseClick ( "left",64, 188, 1, 50 )
MouseClick ( "left",64, 204, 1, 50 )
$Pos_String = StringTrimRight("49,203|", 1)
$Pos_Array = StringSplit($Pos_String, "|", 1)
For $i = 1 To $Pos_Array
$Pos_Temp = StringSplit($Pos_Array[$i], ",")
$TV_Item_h = _GUICtrlTreeView_HitTestItem($TV_h, $Pos_Temp, $Pos_Temp)
_GUICtrlTreeView_ClickItem($TV_h, $TV_Item_h, "left", False)
_GUICtrlTreeView_SetFocused($TV_h, $TV_Item_h, True)
If _GUICtrlTreeView_GetChildren($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_Expand($TV_h, $TV_Item_h, True)
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
Else
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
If _GUICtrlTreeView_GetChecked($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, False)
Else
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, True)
EndIf
EndIf
Next
MouseClick ( "left",64, 222, 1, 50 )
MouseClick ( "left",64, 239, 1, 50 )
MouseClick ( "left",64, 254, 1, 50 )
MouseClick ( "left",64, 271, 1, 50 )
MouseClick ( "left",63, 287, 1, 50 )
MouseClick ( "left",63, 304, 1, 50 )
MouseClick ( "left",63, 317, 1, 50 )#AutoIt3Wrapper_outfile = ttpsetup_zd.exe
#AutoIt3Wrapper_Res_Description = 软件: 自动安装
#AutoIt3Wrapper_Res_Comment = 脚本生成于: 2011年 03月 16日
#Include <G:\Auto_Code\Resource\GuiLVTV.au3>
Opt("MouseCoordMode", 0)
Global $hListView, $Path_Fitx, $Path_Fit, $Nem_Path
$Path_Fitx = StringInStr ( ClipGet(), ":", 2 )
If $Path_Fitx = 0 Then
$Path_Fit = ""
Else
$Path_Fit = ClipGet()
EndIf
If FileExists("G:\Auto_Code\temp.txt") Then FileDelete("G:\Auto_Code\temp.txt")
$file = FileOpen("G:\Auto_Code\temp.txt", 1)
FileWriteLine($file, "ttpsetup.exe")
FileWriteLine($file, "ttpsetup_zd.exe")
FileClose($file)
Run(@ScriptDir &"\ttpsetup.exe")
WinWait("千千静听 5.7正式版 安装程序 Unicode","欢迎使用 千千静")
WinActivate("千千静听 5.7正式版 安装程序 Unicode","欢迎使用 千千静")
Sleep(250)
ControlClick( "千千静听 5.7正式版 安装程序 Unicode", "","Button2" )
WinWait("千千静听 5.7正式版 安装程序 Unicode","请仔细阅读以下的")
WinActivate("千千静听 5.7正式版 安装程序 Unicode","请仔细阅读以下的")
Sleep(250)
ControlClick( "千千静听 5.7正式版 安装程序 Unicode", "","Button2" )
WinWait("千千静听 5.7正式版 安装程序 Unicode","选择要安装的组件")
WinActivate("千千静听 5.7正式版 安装程序 Unicode","选择要安装的组件")
$TV_h = ControlGetHandle("千千静听 5.7正式版 安装程序 Unicode", "Tree1", "SysTreeView321")
$First = _GUICtrlTreeView_GetFirstItem($TV_h)
_GUICtrlTreeView_EnsureVisible($TV_h, $First)
Opt("MouseClickDelay", 600)
$Pos_String = StringTrimRight("64,23|", 1)
$Pos_Array = StringSplit($Pos_String, "|", 1)
For $i = 1 To $Pos_Array
$Pos_Temp = StringSplit($Pos_Array[$i], ",")
$TV_Item_h = _GUICtrlTreeView_HitTestItem($TV_h, $Pos_Temp, $Pos_Temp)
_GUICtrlTreeView_ClickItem($TV_h, $TV_Item_h, "left", False)
_GUICtrlTreeView_SetFocused($TV_h, $TV_Item_h, True)
If _GUICtrlTreeView_GetChildren($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_Expand($TV_h, $TV_Item_h, True)
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
Else
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
If _GUICtrlTreeView_GetChecked($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, False)
Else
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, True)
EndIf
EndIf
Next
MouseClick ( "left",65, 142, 1, 50 )
MouseClick ( "left",65, 160, 1, 50 )
MouseClick ( "left",65, 172, 1, 50 )
MouseClick ( "left",63, 190, 1, 50 )
MouseClick ( "left",63, 205, 1, 50 )
MouseClick ( "left",63, 222, 1, 50 )
MouseClick ( "left",64, 237, 1, 50 )
MouseClick ( "left",64, 254, 1, 50 )
MouseClick ( "left",64, 269, 1, 50 )
MouseClick ( "left",64, 285, 1, 50 )
$Pos_String = StringTrimRight("81,187|", 1)
$Pos_Array = StringSplit($Pos_String, "|", 1)
For $i = 1 To $Pos_Array
$Pos_Temp = StringSplit($Pos_Array[$i], ",")
$TV_Item_h = _GUICtrlTreeView_HitTestItem($TV_h, $Pos_Temp, $Pos_Temp)
_GUICtrlTreeView_ClickItem($TV_h, $TV_Item_h, "left", False)
_GUICtrlTreeView_SetFocused($TV_h, $TV_Item_h, True)
If _GUICtrlTreeView_GetChildren($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_Expand($TV_h, $TV_Item_h, True)
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
Else
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
If _GUICtrlTreeView_GetChecked($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, False)
Else
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, True)
EndIf
EndIf
Next
MouseClick ( "left",64, 188, 1, 50 )
MouseClick ( "left",64, 204, 1, 50 )
$Pos_String = StringTrimRight("49,203|", 1)
$Pos_Array = StringSplit($Pos_String, "|", 1)
For $i = 1 To $Pos_Array
$Pos_Temp = StringSplit($Pos_Array[$i], ",")
$TV_Item_h = _GUICtrlTreeView_HitTestItem($TV_h, $Pos_Temp, $Pos_Temp)
_GUICtrlTreeView_ClickItem($TV_h, $TV_Item_h, "left", False)
_GUICtrlTreeView_SetFocused($TV_h, $TV_Item_h, True)
If _GUICtrlTreeView_GetChildren($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_Expand($TV_h, $TV_Item_h, True)
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
Else
_GUICtrlTreeView_SelectItem($TV_h, $TV_Item_h, $TVGN_FIRSTVISIBLE)
If _GUICtrlTreeView_GetChecked($TV_h, $TV_Item_h) = True Then
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, False)
Else
_GUICtrlTreeView_SetChecked($TV_h, $TV_Item_h, True)
EndIf
EndIf
Next
MouseClick ( "left",64, 222, 1, 50 )
MouseClick ( "left",64, 239, 1, 50 )
MouseClick ( "left",64, 254, 1, 50 )
MouseClick ( "left",64, 271, 1, 50 )
MouseClick ( "left",63, 287, 1, 50 )
MouseClick ( "left",63, 304, 1, 50 )
MouseClick ( "left",63, 317, 1, 50 )
131738
发表于 2011-11-10 21:05:04
回复 243# q511252885
这贴的什么,脚本生成于: 2011年 03月 16日, 注册时间 2011-11-5,不明不白。。。。
ojoojo
发表于 2011-11-15 23:03:47
真的很强大,支持
qq595115623
发表于 2011-11-16 15:15:50
支持下!!!
qq595115623
发表于 2011-11-16 15:17:01
顶下!!!没钱啊!!!!
qq595115623
发表于 2011-11-16 15:17:16
顶下!!!没钱啊!!!!
qq595115623
发表于 2011-11-16 15:17:19
顶下!!!没钱啊!!!!
qq595115623
发表于 2011-11-16 15:17:22
顶下!!!没钱啊!!!!
qq595115623
发表于 2011-11-16 15:17:24
顶下!!!没钱啊!!!!
qq595115623
发表于 2011-11-16 15:17:27
顶下!!!没钱啊!!!!
qq595115623
发表于 2011-11-16 15:17:29
顶下!!!没钱啊!!!!
akinlau
发表于 2011-12-5 02:29:13
好东西顶一下
wangjian6931
发表于 2012-1-17 19:08:15
下了一个老版本的,现在再来个新版本。
我好穷呀
bsb123
发表于 2012-3-29 11:51:33
感谢楼主谢谢分享!!!