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

Need help with retriving values form a text file.

$
0
0

Hello Autoit Forum,

I'm working with a device that communicates serially and would like to compare current WIFI settings on the device with those in the script so it can update the gui controls with the settings and avoid changing settings that don't need to be changed.

 

I have it writing the settings to a text file but not sure how to read them into variables.

This is the output below. Any advice or direction would be very helpful, I'm stuck here and need a push. I looked around and did not see anything that dealt with the big spaces like in this file.

Plain Text         
Wireless Network Settings DHCPv4                                    : Disabled IP Address                                : 192.168.90.90 Subnet Mask                               : 255.255.255.0 Gateway                                   : 10.2.90.1 Primary DNS                               : 10.2.90.1 Secondary DNS                             : 0.0.0.0 Auto IP Address                           : 169.254.248.124 IPv6 Static Address                       : Disabled DHCPv6                                    : Disabled IPv6 Autoconfigured Address               : FE80::240:9DFF:FE58:2495 DNS Servers                               : ::FFFF:0:0                                           : ::FFFF:0:0 Protocol Mode                             : Infrastructure SSID                                      : gedvt Country Name                              : United States Multi Domain Capability (802.11d)         : Disabled Spectrum Management Capability (802.11h)  : Disabled Frequency Band                            : band bg Channel                                   : 0 (search) Authentication                             --------------                             WPA Personal (WPA-PSK)                    : Enabled Encryption                                 ----------                                 tkip                                      : Enabled Username                                  : username #>

Thanks.


Viewing all articles
Browse latest Browse all 12506

Trending Articles



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