You will be hard-pressed to find attack spells with infinite range (infinite range includes millions of lightyears away into space). You can, however, create attacks from super far away.
Meteor Swarm: 1 mile range, requires sight only.
- If you wanted to nuke, call meteors from the sky
- Summon a 9th-level storm spell above your enemies. The fact that the range is listed as "sight" qualifies you to cast SoV.
- If you're an Illusionist Wizard, Mirage Arcane plus Malleable Illusions and Illusory Reality grant you reality warping powers. The fact that the range is listed as "sight" qualifies you to cast Mirage Arcane through Scrying. And Malleable Illusions allows you to manipulate the illusion through Scrying.
- There is no damage here, but you can mess with them for 10 days. A bit tricky because the cast time of MA is 10 minutes, which is also the duration of Scrying.