Skip to main content
JADarnell
Inspiring
June 8, 2012
Answered

(AS) User interaction level

  • June 8, 2012
  • 1 reply
  • 2607 views

Hello Everyone:

In a previous version of InDesign I had this Applescript statement in the script, and it worked just fine:

tell application "InDesign CS"

   set user interaction level to never interact

...

Now, working in InDesign CS5 the above statement does not work, even after updating the application label to "Adobe InDesign CS5." This script snippet does not work:

tell application "Adobe InDesign CS5"

   set user interaction level to never interact

...

I have tried several variations, including something looking like this:

tell application "Adobe InDesign CS5"

   set MyPreference to script preference

   tell MyPreference

    set user interaction level to never interact

   end tell

And this:

tell application "Adobe InDesign CS5"

    set user interaction level of script preference to never interact

It doesn't matter what I use, the script blows up (stops working) at that point.  So how does one set the user interaction level in Adobe InDesign CS5?

TIA,

John

This topic has been closed for replies.
Correct answer Muppet Mark

preferences not preference…

1 reply

Muppet MarkCorrect answer
Inspiring
June 8, 2012

preferences not preference…

JADarnell
JADarnellAuthor
Inspiring
June 8, 2012

Thanks MM for that bit of wisdom.  It worked.

In my defense, if you look it up in the InDesign CS5 Scripting Dictionary, it says "Script Preference."  And it is consistent in using that phrase exactly as I used it in all my errant variances. 

FWIW.

R,

John