This content has been marked as final. Show 4 replies
If you positively want to suppress user interaction, inserting
>app.scriptPreferences.userInteractionLevel = UserInteractionLevels.neverInteract;
somewhere before the optionally interacting command should work. Add
>app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;
after it, otherwise you will
get any dialogs after running the script. A common mistake, which has baffled many a script user. I guess it's safest to put the "Off" line directly before, and the "On" line directly after the optionally interacting command (in your case the .place line). That way you still get error messages and dialogs for those cases you did not foresee. This will still mess up your settings if for some reason InDesign crashes and burns on the .place command itself, so you should have a single line script ready that just contains the "On" line.
Thanx for the fast response...
But will disabling the user interaction prevent importing the picture or will the image be imported anyway ?
It will suppress only dialogs, not actions, methods, procedures, etc.
-- there would be no point to the command if it suppresses
i everything ;-)