我以前用的激活脚本,大部份机器都能正常激活,不能激活的,运行多几次脚本也能正常激活的。但愿你能适用。
$g_szVersion = "cs"
If WinExists($g_szVersion) Then Exit
AutoItWinSetTitle($g_szVersion)
FileInstall("keygen.exe",@TempDir & "\keygen.exe",1)
Run("E:\Program Files\Adobe\Adobe Photoshop CS2\Photoshop.exe","E:\Program Files\Adobe\Adobe Photoshop CS2")
TrayTip("正在激活Photoshop CS2…………", "激活正在进行…………请稍等!!!", 10, 1)
WinWaitActive("Adobe 激活", "确定")
ControlClick("Adobe 激活", "确定","Button1")
WinWaitActive("Adobe 激活", "激活选项(&A)")
ControlClick("Adobe 激活", "激活选项(&A)","Button3")
ControlClick("Adobe 激活", "通过“软件自动激活系统”进行电话激活(&T)","Button2")
ControlClick("Adobe 激活", "下一步(&N)","Button7")
If Not WinActive("Adobe 激活","") Then WinActivate("Adobe 激活","")
WinWaitActive("Adobe 激活","")
$sn=ControlGetText("Adobe 激活", "", "Edit4")
run(@TempDir & "\keygen.exe",@TempDir)
WinWaitActive("Adobe Creative Suite 2 by cvs/SSG","")
ControlClick("Adobe Creative Suite 2 by cvs/SSG", "","obj_COMBOBOX1")
send("{DOWN}")
send("{ENTER}")
ControlClick("Adobe Creative Suite 2 by cvs/SSG", "","obj_EDIT2")
ControlSend("Adobe Creative Suite 2 by cvs/SSG", "", "obj_EDIT2", $sn)
ControlClick("Adobe Creative Suite 2 by cvs/SSG", "","obj_BUTTON2")
$ps=ControlGetText("Adobe Creative Suite 2 by cvs/SSG", "", "obj_EDIT1")
$n = StringSplit($ps,"-")
If Not WinActive("Adobe 激活","") Then WinActivate("Adobe 激活","")
WinWaitActive("Adobe 激活","")
ControlSend("Adobe 激活", "", "Edit6", $n[1])
ControlSend("Adobe 激活", "", "Edit7", $n[2])
ControlSend("Adobe 激活", "", "Edit8", $n[3])
ControlSend("Adobe 激活", "", "Edit9", $n[4])
ControlSend("Adobe 激活", "", "Edit10",$n[5])
if ProcessExists("keygen.exe") Then ProcessClose ("keygen.exe")
sleep(100)
FileDelete(@TempDir & "\keygen.exe")
sleep(100)
ControlClick("Adobe 激活", "激活(&V)","Button3")
If Not WinActive("Adobe 激活","") Then WinActivate("Adobe 激活","")
WinWaitActive("Adobe 激活","")
ControlClick("Adobe 激活", "完成(&D)","Button2")
If FileExists(@ProgramFilesDir & "\Desktop\SoftWare\Photoshop CS2.lnk") Then FileDelete(@ProgramFilesDir & "\Desktop\SoftWare\Photoshop CS2.lnk")
FileCreateShortcut("E:\Program Files\Adobe\Adobe Photoshop CS2\Photoshop.exe",@ProgramFilesDir & "\Desktop\SoftWare\Photoshop CS2.lnk","E:\Program Files\Adobe\Adobe Photoshop CS2\","","Photoshop CS2","icon.dll","","446",@SW_MINIMIZE)
exit
|