Jump to content

Recommended Posts

Posted

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

Posted

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

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
×
×
  • Create New...