Hi!
I’m working on an InDesign script, and I want to place a random file form a spesific folder into an InDesign frame.
Is this possible?
The folder - lets say “Macintosh HD:My folder” cointaint EPS-files, but the contents will not be the same from day to day.
So I need a code where InDesign looks in this folder, an pics a randon of it present files…
tell application "Finder"
set R_file to some item of folder "test" of desktop as alias -- test being the name of the folder holding the images
end tell
tell application "Adobe InDesign CS2"
tell document 1
tell page 1
place R_file
end tell
end tell
end tell