Answer: You might try dusting the window sill with cinnamon. I understand this repels them. If that doesn't work, try using baits on the ground, directly below the window. Most commercially available baits contain boric acid which the ants take back to their nests. the colony feeds on the bait and it kills the entire colony off.
Best wishes with your project!
Q&A Library Searching Tips