The easiest way to focus on infinity is to start in manual focus mode. Play with the camera and read the instructions on manual focus and manual exposure. You can download them here:
http://gdlp01.c-wss.com/gds/7/0300007147/01/pssx260hs-sx240hs-cug-c-en.pdfYou enter manual focus starting with the <left> button. Select Manual Focus and press set. Then crank the dial clockwise until the indicator goes all the way to the top, which is infinity. When you start the script, it will hold that focus on infinity.
To set the correct exposure, turn the mode dial to Av. Set the ISO to 100 first. Point the camera at something that's medium brightness, i.e. neutral gray. Press the shutter half way, and read the shutter speed. If that's not fast enough, change ISO to 200 and check again. It should be around 1/1000 if it's bright enough.
Then move the mode dial to "M" and set that shutter speed with the cursor key wheel. You can adjust the wheel a little to make things brighter or darker if you need to.
Check through all the menus and turn off everything automatic, including Safety Manual Focus, auto white balance (use daylight). Press the <up> key and make sure exposure compenstation is 0. Press <right> and set the flash to always off.
In the record menu, set everything to OFF, except the IS setting should probably be "Continuous" to reduce motion blur in the pictures. You may want the GPS on if you're not worried about battery time.
So if you start the script with manual focus on, set manually to infinity, and manual exposure set properly, the camera will hold those settings for all the pictures. Practice setting up the camera and taking pictures with manual settings.
I'm looking forward to seeing the pics. Good luck!