Jump to content

press "Accept" button automatically


alexman1
 Share

Recommended Posts

Hello to all of you, and I am glad to be here.I've started to learn autoit and I need your support in the following problem:

-I want to automatically install norton power eraser and I need to press the "accept" button. Autoit windows info show me only the following information regarding this button:

Title: Norton Power Eraser

Class: NortonPowerEraserWnd

Position: 463, 184

Size: 995, 664

Style: 0x960A0800

ExStyle: 0x00040000

Handle: 0x0002047E

Control

Class:

Instance:

ClassnameNN:

Name:

Advanced (Class):

ID:

Text:

Position:

Size:

ControlClick Coords:

Style:

ExStyle:

Handle:

Mouse

Position: 1357, 801

Cursor ID: 0

Color:0x6D2800

How can I do it?Thanks.

Edited by alexman1
Link to comment
Share on other sites

I want to automatically run a few antirootkits and I have the same problems at all:how to press the buttons.May be in the next examples can somebody help me:

Case1.Bitdefender removal tool

Title: Bitdefender Removal Tool

Class: htmlayout::bdremovaltoolwindow

Position: 725, 335

Size: 470, 411

Style: 0x94000000

ExStyle: 0x00080000

Handle: 0x000E0192

Control

Class:

Instance:

ClassnameNN:

Name:

Advanced (Class):

ID:

Text:

Position:

Size:

ControlClick Coords:

Style:

ExStyle:

Handle:

Mouse

Position:1113, 411

Cursor ID: 0

Color: 0x326201

2.kaspersky

Window

Title:

Class: #32770

Position: 640, 66

Size: 490, 450

Style: 0x94090044

ExStyle: 0x00010008

Handle: 0x0001056E

Control

Class: ATL:005F6190

Instance: 3

ClassnameNN: ATL:005F61903

Name:

Advanced (Class): [CLASS:ATL:005F6190; INSTANCE:3]

ID: 1016

Text: Accept

Position: 402, 419

Size: 78, 23

ControlClick Coords: 23, 11

Style: 0x5001000B

ExStyle: 0x00000020

Handle: 0x00010582

Mouse

Position: 1065, 496

Cursor ID: 0

Color: 0xD1E0A0

Edited by alexman1
Link to comment
Share on other sites

  • Moderators

Use a task scheduler, use the command lines on install to set the options as suggested.  Click the objects by x and y position... Many controls from other applications are not setup to allow specific interaction, with anti spyware apps, the anti- part is to prevent ;).

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...