Jump to content
Sign in to follow this  
sosimple

newbee question.ControlClick help

Recommended Posts

sosimple

Hi. controlclick is one of the few commands that i tried many times without success. I have a window of an application named "SetFSB 2.1.69.2"

It has a button that I want to press. With the autoit window info, if i move tha mouse on this button i have this:

CODE
>>>> Window <<<<

Title: SetFSB 2.1.69.2

Class: hspwnd0

Position: 82, 64

Size: 524, 267

Style: 0x16CA0000

ExStyle: 0x00000100

>>>> Control <<<<

Class: Button

Instance: 14

ClassnameNN: Button14

ID: 16391

Text: Get FSB

Position: 374, 39

Size: 120, 24

ControlClick Coords: 54, 8

Style: 0x50000000

ExStyle: 0x00000000

>>>> Mouse <<<<

Position: 516, 140

Cursor ID: 2

Color: 0xFFFFFF

What is the code to click to this button? (The buttons text is Get FSB if plays an role..)

I try ControlClick("SetFSB 2.1.69.2","","hspwnd0""left",1) but nothing happens ..

Please help..

Thanks ,

Share this post


Link to post
Share on other sites
DMEE

try ControlClick("SetFSB 2.1.69.2","","[TEXT:Get FSB]","left",1)


In the beginning there was nothing and then even that exploded - anonymous

Share this post


Link to post
Share on other sites
sosimple

try ControlClick("SetFSB 2.1.69.2","","[TEXT:Get FSB]","left",1)

You are God man..

This works excellent, many thanks!!

Share this post


Link to post
Share on other sites
DMEE

You are God man..

This works excellent, many thanks!!

You're welcome -> but not I am the God, but the person who wrote the help file...


In the beginning there was nothing and then even that exploded - anonymous

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.