Did some cleanup of this code so that it is more dynamic (no 10 printers limit). #include <Array.au3> #include <GUIConstants.au3> Global $printers Global $printercount Global $regprinters Global $currentprinter Global $regwriteprinters Global $printer_list[1] Global $printer_list_ext[1] global $printer_radio_array[1] global $imprimante $regprinters = "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Devices" $regwriteprinters = "HKEY_CURRENT_USER\Software\Micr