Správné použití funkce "Autodetekce"