Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Same ClassNN, multiple objects - Win XP security settings

$
0
0
I know Microsoft doesn't want me automating anything in the Control Panel, especially around Windows Firewall, but you'll just have to trust me that I have legitimate reasons for trying it, namely simple configuration of loads of devices.

What I find is that the SysListView32 that's in the Exceptions tab of Windows Firewall has an Instance number of 1. The SysListView32 that is in the Advanced tab also has an Instance number of 1. The Window Info tool can find a handle for each of them, the handles are unique, but ControlGetHandle will only return the handle of the list under Exceptions, not the one under Advanced. I've tried playing with the text field, i.e.
$hList = ControlGetHandle("Windows Firewall", "Windows Firewall is enabled for the &connections selected below.", "SysListView321")
but as soon as I change that it can't find any handle at all.

Any tips for a rookie?

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>