#AutoIt3Wrapper_Au3Check_Parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6
#include <GuiConstantsEx.au3>
#include <GuiTab.au3>
Global $title,$A
Run( 'mplayer_lite_r28347.exe' )
WinWaitActive( "7-Zip 自解压文件", "解压路径(&X):" )
ControlSetText( "7-Zip 自解压文件", "", "Edit1", "C:\Program Files\" )
ControlClick("7-Zip 自解压文件", "", "Button2")
WinWaitClose ( " 解压文件...", "")
$title="MPlayer 首选项"
Run('C:\Program Files\mplayer\meditor2.exe')
WinWait($title,"")
If Not WinActivate($title,"确定") Then WinActivate($title,"确定")
WinWaitActive($title,"确定")
$A=ControlGetHandle ( $title, "确定", 1000)
_GUICtrlTab_ClickTab($A, 9, "left", True, 100)
ControlClick("MPlayer 首选项", "", "Button7")
ControlClick("MPlayer 首选项", "", "Button2")
WinWaitActive("提示信息","确定")
ControlClick("提示信息", "", "Button1")
FileCreateShortcut("C:\Program Files\mplayer\mplayer.exe",@DesktopDir & "\mplayer.exe.lnk")
给个完整版你,试试吧!
[ 本帖最后由 131738 于 2009-2-25 21:36 编辑 ] |