Iain McCallum, 30, of Bannerfield Drive, Selkirk, appeared from custody and admitted being found in the curtilage of a house near Darnick in circumstances it may be inferred he intended to commit theft, on September 5.
At Selkirk Sheriff Court on Monday, Prosecutor Alasdair Fay told how McCallum was seen “hanging around, looking through domestic waste bins.” When he spotted police, the accused “legged it”.
“He was wearing two pairs of socks, often done rather than carrying gloves,” added Mr Fay.
McCallum also admitted stealing a charity box of sweets at Business Gateway, Ettrick Riverside, Selkirk, on July 26.
Defence solicitor Ross Dow said his client had “re-established a drug addiction.
Sentence was deferred until October 20 for reports and a DTTO assessment.