Jump to content
Sign in to follow this  
Theopolis

Issue with ControlSend

Recommended Posts

Theopolis

I want to set the "Use automatic configuration script" option in Internet Explorer.

This button has the Control ID nummer 1569.

When I use ControlClick on this ID it works, but when I use ControlSend it does nothing.

Other ID's work flawlessly.

Code :

ControlClick ("Local Area Network (LAN) Settings", "", 1569)

ControlSend ("Local Area Network (LAN) Settings", "", 1569,"+")

I also tried control send with full discription, no discription, Class, ClassNN, Instance)

(I Use AutoIt version 3.2.12.1)

Anyone any suggestion how to solve this.

Kind Regards,

Theopolis

Share this post


Link to post
Share on other sites
Theopolis

I found the solution. :D

I forgot the RAW flag, otherwise it only send a shift.. ;)

Wrong code :

ControlSend ("Local Area Network (LAN) Settings", "", 1569,"+")

Correct code :

ControlSend ("Local Area Network (LAN) Settings", "", 1569,"+",1)

Kind Regards,

Theopolis

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  

×