|
发表于 2010-8-28 16:02:32
|
显示全部楼层
楼主作品与我的思路的对比
楼主作品生成的代码#requireadmin
#Region AutoIt3Wrapper 预编译参数(常用参数)
#AutoIt3Wrapper_icon = C:\Users\Administrator\Desktop\QQFlasher18setup.ico
#AutoIt3Wrapper_outfile = C:\Users\Administrator\Desktop\QQFlasher18setup_ZD.exe
#AutoIt3Wrapper_Res_Description = 自动安装脚本, au3版本:3.3.6.1
#AutoIt3Wrapper_Res_Comment = 脚本生成于: 2010年 08月 28日
#EndRegion AutoIt3Wrapper 预编译参数设置完成
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Include <GuiListView.au3>
#include <GuiImageList.au3>
Opt("MouseCoordMode", 0)
Global $hListView, $Path_Fitx, $Path_Fit, $Nem_Path
Run ( "C:\Users\Administrator\Desktop\QQFlasher18setup.exe" )
WinWait ( "安装 - QQFlasher","下一步(&N) >" )
WinActivate ( "安装 - QQFlasher","下一步(&N) >" )
ControlClick( "安装 - QQFlasher", "","TButton1" )
WinWait ( "安装 - QQFlasher","我同意此协议(&A)" )
WinActivate ( "安装 - QQFlasher","我同意此协议(&A)" )
ControlClick( "安装 - QQFlasher", "","TRadioButton1" )
WinWait ( "安装 - QQFlasher","下一步(&N) >" )
WinActivate ( "安装 - QQFlasher","下一步(&N) >" )
ControlClick( "安装 - QQFlasher", "","TButton2" )
ControlClick( "安装 - QQFlasher", "","TButton2" )
WinWait ( "安装 - QQFlasher","下一步(&N) >" )
WinActivate ( "安装 - QQFlasher","下一步(&N) >" )
ControlClick( "安装 - QQFlasher", "","TButton3" )
ControlClick( "安装 - QQFlasher", "","TButton4" )
MouseClick ( "left",54, 156, 1, 50 )
MouseClick ( "left",55, 174, 1, 50 )
ControlClick( "安装 - QQFlasher", "","TButton4" )
ControlClick( "安装 - QQFlasher", "","TButton4" )
WinWait ( "安装 - QQFlasher","下一步(&N) >" )
WinActivate ( "安装 - QQFlasher","下一步(&N) >" )
ControlClick( "安装 - QQFlasher", "","TButton4" )
MouseClick ( "left",192, 149, 1, 50 )
WinWait ( "安装 - QQFlasher","完成(&F)" )
WinActivate ( "安装 - QQFlasher","完成(&F)" )
ControlClick( "安装 - QQFlasher", "","TButton4" )
我的思路就是全部用鼠标模拟的那个。#requireadmin
Opt("MouseCoordMode", 2)
Global $hListView, $Path_Fitx, $Path_Fit, $Nem_Path
Run ( "C:\Users\Administrator\Desktop\QQFlasher18setup.exe" )
WinWait ( "安装 - QQFlasher","下一步(&N) >" )
WinActivate ( "安装 - QQFlasher","下一步(&N) >" )
MouseClick ( "left",303,301, 1 )
WinWait ( "安装 - QQFlasher","我同意此协议(&A)" )
WinActivate ( "安装 - QQFlasher","我同意此协议(&A)" )
MouseClick ( "left",40,247, 1 )
MouseClick ( "left",303,301, 1 )
WinWait ( "安装 - QQFlasher","下一步(&N) >" )
WinActivate ( "安装 - QQFlasher","下一步(&N) >" )
MouseClick ( "left",303,301, 1 )
WinWait ( "安装 - QQFlasher","下一步(&N) >" )
WinActivate ( "安装 - QQFlasher","下一步(&N) >" )
MouseClick ( "left",303,301, 1 )
WinWait ( "安装 - QQFlasher","您想在哪里放置程序的快捷方式?" )
WinActivate ( "安装 - QQFlasher","您想在哪里放置程序的快捷方式?" )
MouseClick ( "left",303,301, 1 )
MouseClick ( "left",49, 129, 1)
MouseClick ( "left",49, 150, 1 )
MouseClick ( "left",303,301, 1 )
WinWait ( "安装 - QQFlasher","安装(&I)" )
WinActivate ( "安装 - QQFlasher","安装(&I)" )
MouseClick ( "left",303,301, 1 )
WinWait ( "安装 - QQFlasher","请在继续安装前阅读下列重要信息。" )
WinActivate ( "安装 - QQFlasher","请在继续安装前阅读下列重要信息。" )
MouseClick ( "left",303,301, 1 )
WinWait ( "安装 - QQFlasher","单击“完成”退出安装程序。" )
WinActivate ( "安装 - QQFlasher","单击“完成”退出安装程序。" )
MouseClick ( "left",199, 122, 1 )
MouseClick ( "left",303,301, 1 )
大家可以对比测试下,我觉得楼主作品真的很好用了。路径问题,我没有测试,毕竟主要用于C盘的毕竟多。
欢迎大家来共同完善楼主的作品。真的很棒了。我制作代码过程中用到afan超版的0.3的那个小程序,真是不错。
在此,对楼主和afan表示感谢。什么时候,我能写出我自己思路的作品呢?╮(╯▽╰)╭,什么收集资料学习吧! |
评分
-
查看全部评分
|