Placing multiple images at once
I've been trying to programmatically import multiple images into InDesign, but I'm having a small issue. From what I understand, a multiple selection returns an array, but the script is acting up on me. Here's what I've got so far:
var slideshowImages = File.openDialog("Choose the images you want incuded", "Files:*.jpg", true);
if((slideshowImages != "")&&(slideshowImages != null)){
var slideshowItems = tabletSlideshow.pages.item(0).place(slideshowImages); <==== This is where I get the "Invalid value for parameter 'fileName' of method 'place' ....... " error.
slideshowItems = slideshowItems[0];
I can place one, but not multiple. Any ideas?