Jump to content

Issue with ControlSend


 Share

Recommended Posts

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

Link to comment
Share on other sites

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

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...