Skip to main content
Participating Frequently
October 31, 2024
Question

Setting Different Measurement Units for Scripts on InDesign Server

  • October 31, 2024
  • 2 replies
  • 774 views

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 has been closed for replies.

2 replies

leo.r
Community Expert
Community Expert
October 31, 2024

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.

Participating Frequently
November 1, 2024

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?
Robert at ID-Tasker
Legend
November 1, 2024

@mikeb65293881

 

You can have startup scripts.

 

But Server version is more based on instances than users. 

 

Participating Frequently
October 31, 2024

Sure, both users can run the scripts simultaneously

Robert at ID-Tasker
Legend
October 31, 2024

Are you replying to yourself? 

 

Participating Frequently
October 31, 2024

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