Clearly Ted thinks the only way for him to do the job will involve him standing on the window ledge himself and scaring the pigeons away, presumably by flapping his hands while trying not to fall off. In which case maybe he is too clueless for his current job anyway.