Skip to main content
Participating Frequently
Oct 31, 2024 12:29 PM UTC
Question

Setting Different Measurement Units for Scripts on InDesign Server

I'd like that scripts runned by one user, use Millimeters as measurement unit, yet the same scripts but for another user - points.
Is it possible ?

 

 

<Title renamed by MOD>

This topic is closed to new replies. Start a new post to keep the conversation going.

11 replies

leo.r
Community Expert
Community Expert
Oct 31, 2024 3:13 PM UTC

yes, the script just has to check the user identity and then use the desired units. depending on your workflow, the script will check either user name or some other markers that identify the user under your particular setup.

Translate
Participating Frequently
Nov 1, 2024 8:17 AM UTC

Let me explain.

I'd like that the following  should be local to each script and not global for all scripts:
app.scriptPreferences.measurementUnit = MeasurementUnits.MILLIMETERS;
app.documents.add();

Is it possible?
Translate
Robert at ID-Tasker
Legend
Nov 1, 2024 9:39 AM UTC

@mikeb65293881

 

You can have startup scripts.

 

But Server version is more based on instances than users. 

 

Translate
Participating Frequently
Oct 31, 2024 12:32 PM UTC

Sure, both users can run the scripts simultaneously

Translate
Robert at ID-Tasker
Legend
Oct 31, 2024 12:36 PM UTC

Are you replying to yourself? 

 

Translate
Participating Frequently
Oct 31, 2024 1:58 PM UTC

Sorry, it seems there is no button `Edit`, so my 2nd msg was just an update.

Translate