@David André – populate the placeGun with a file (one IDMS file) or with an array of files (more than one IDMS files).
In ExtendScript terms something like the snippets below (dummy code, will not run before defining the variables myEntireFilePath1 etc.):
For more than one file to be placed use an array:
var myFileArray = [myEntireFilePath1, myEntireFilePath2, myEntireFilePath3]; app.documents.placeGuns.loadPlaceGun(myFileArray);
One file example:
var myFile = File(myEntireFilePath1); app.documents.placeGuns.loadPlaceGun(myFile);
Perfect! Thank you!
What if you want to place a snippet at the same location that it was made - like when holding down the option-key when placing the snippet?
@David André – hm, good question…
You mean with the place() command, not with the placeGun?
I guess you have to examine (read out) the IDMS file for the original coordinates of the snippet.
Never had done this…