"Absolute pest” Andrew Morris carried out a catalogue of crime over several months in York and Scarborough, a court heard.