I was looking for a script to get selected template pdf file in bridge selection to open in photoshop by an photoshop plugin. script should auto configure by default to document size as pervious opened or created document. Later user need to select a bunch of images to set in that opened document of the template.
Maybe these threads provide useful functions regarding getting Files selected in Bridge into Photoshop.
Rags also has a script to build PSD collage templates and scripts to populate then and there is my Photo Collage Toolkits the make it easy to create template files and populate then. Also included is a script the lets you tile images into a document. Designed to let you ptint image on roll paper without paper waste.
Photo Collage Toolkit UPDATED Dec 3, 2012 Added Animated SnowGlobe, SnowGlobe Action Set, SnowGlobe Template and SnowGlobe Video Demo.
Paste Image Roll http://www.mouseprints.net/old/dpr/PasteImageRoll.html