I am attempting to write script with a gui to install network printers. I have it set up to read the printer names from an .ini file and to create check boxes for each printer. I can't seem to figure out how to see what boxes are checked and do something with the printer name next to the checked box. Clicking the button does pop up a message box so I know it goes to the function, but my IF statement is completely skipped and I'm not sure how to make this work. All help is greatly appreciated.
Current Script
AutoIt
The .ini file contents
[Printers]
PrinterList = Printer 1, Printer 2, Printer3, Printer 4, New_Test_printer