Господа, доброго времени суток!
С autoIt знаком недавно, поэтому вынужден обратиться за помощью. Пытаюсь автоматизировать установку программы, но при появлении окна с лицензионным соглашением не получается поставить галочку и нажать Next. Помогите пожалуйста! Скриншот приатачу.
Код пока в таком состоянии:
Run("Setup.exe")
WinWaitActive("WPM Setup", "&Next")
Send("!n")
WinWaitActive("WPM Setup")
WinWaitActive("WPM Setup", "&Next")
Send("!n")
WinWaitActive("WPM Setup", "&Next")
Send("!n")
WinWaitActive("WPM Setup", "into the following folder")
Send("{ENTER}")
WinWaitActive("WPM Setup", "Completing the WPM Setup Wizard")
Send("{ENTER}")
______________________________________________________________
Window Info:
>>>> Window <<<<
Title: WPM Setup
Class: #32770
Position: 431, 169
Size: 503, 386
Style: 0x94CA084C
ExStyle: 0x00010100
Handle: 0x000B0A6A
>>>> Control <<<<
Class: Button
Instance: 4
ClassnameNN: Button4
Name:
Advanced (Class): [CLASS:Button; INSTANCE:4]
ID: 1034
Text: I &accept the terms of the License Agreement
Position: 23, 284
Size: 450, 15
ControlClick Coords: 162, 11
Style: 0x50010003
ExStyle: 0x00000004
Handle: 0x00190A5C
>>>> Mouse <<<<
Position: 619, 486
Cursor ID: 0
Color: 04D0C8
>>>> StatusBar <<<<
>>>> ToolsBar <<<<
>>>> Visible Text <<<<
< &Back
&Next >
Cancel
Nullsoft Install System v2.46
Nullsoft Install System v2.46
License Agreement
Please review the license terms before installing WPM.
Press Page Down to see the rest of the agreement.
FINALeRASER WPM
End-User License Agreement
Copyright (c) FINALDATA INC. All rights reserved.
С autoIt знаком недавно, поэтому вынужден обратиться за помощью. Пытаюсь автоматизировать установку программы, но при появлении окна с лицензионным соглашением не получается поставить галочку и нажать Next. Помогите пожалуйста! Скриншот приатачу.
Код пока в таком состоянии:
Run("Setup.exe")
WinWaitActive("WPM Setup", "&Next")
Send("!n")
WinWaitActive("WPM Setup")
WinWaitActive("WPM Setup", "&Next")
Send("!n")
WinWaitActive("WPM Setup", "&Next")
Send("!n")
WinWaitActive("WPM Setup", "into the following folder")
Send("{ENTER}")
WinWaitActive("WPM Setup", "Completing the WPM Setup Wizard")
Send("{ENTER}")
______________________________________________________________
Window Info:
>>>> Window <<<<
Title: WPM Setup
Class: #32770
Position: 431, 169
Size: 503, 386
Style: 0x94CA084C
ExStyle: 0x00010100
Handle: 0x000B0A6A
>>>> Control <<<<
Class: Button
Instance: 4
ClassnameNN: Button4
Name:
Advanced (Class): [CLASS:Button; INSTANCE:4]
ID: 1034
Text: I &accept the terms of the License Agreement
Position: 23, 284
Size: 450, 15
ControlClick Coords: 162, 11
Style: 0x50010003
ExStyle: 0x00000004
Handle: 0x00190A5C
>>>> Mouse <<<<
Position: 619, 486
Cursor ID: 0
Color: 04D0C8
>>>> StatusBar <<<<
>>>> ToolsBar <<<<
>>>> Visible Text <<<<
< &Back
&Next >
Cancel
Nullsoft Install System v2.46
Nullsoft Install System v2.46
License Agreement
Please review the license terms before installing WPM.
Press Page Down to see the rest of the agreement.
FINALeRASER WPM
End-User License Agreement
Copyright (c) FINALDATA INC. All rights reserved.