set user interaction level to never interact - indesign cs3

why the hell doesn’t this work? this is the correct syntax and it compiles but I get an error when I try to run it - “Adobe InDesign CS3 got an error: Can’t set user interaction level to never interact.” by the way, this is for preventing indesign from popping up dialog boxes that stop your script.

tell application "Adobe InDesign CS3"
	set user interaction level to never interact
end tell

Hi,
I think the problem is that you can set user interaction levels for more than one type of process and you’re not specifying what process. Give this a try:

tell application "Adobe InDesign CS3"
				set user interaction level of script preferences to never interact
end tell

Thanks,
Nik

Hi,

I have the same problem. While opening a file I don’t want InDesign tells me about links and/or fonts missing.
If you do:

tell application "Adobe InDesign CS2"
   try
      set user interaction level to never interact
      -- other lines
   end try
end tell

It works, but… the next lines don’t work anymore. It makes me crazy!
There’s no a way to say which alert we want to avoid, like Quark Xpress?

Who knows?

Model: G5 Intel
Browser: Firefox 2.0.0.12
Operating System: Mac OS X (10.4)

blend3 is correct you must use the script preference to stop dialog appearing from a script. I have used this same code for years and if you set the document to open without showing window and dialog InDesign will run as a background process speeding everything up.

Thx Neweller,

works fine!