Once installed go to the Add Slides Droplet folder on your Desktop. Right click on the Add Images to SlideShow application and choose Show Package Contents. In the Finder window that opens double click the main.scpt file you find inside the Scripts folder. It contains a good example on how to script Keynote.