You can set this per document or at the App level.
Set Basic Paragraph to have those values. Set a shortcut key to Basic Paragraph. When you open any new doc, it begins with those values.
It's (virtually) the same as having a script that toggles it on, except writing a script would take you more time. The ONLY advantage in having it in script form is when you are in any Style you can toggle that on and create an override.
This is only a part of a bigger script, everything else is working fine.
How would the code look then? i feel like i tried everything like
app.activeDocument.minimumWordSpacing = 70;
app.minimumWordSpacing = 70;
and i can't use app.activeDocument.paragraphStyle.minimumWordSpacing = 70;
it seems i can't find a way to target it :s
You need text defaults for that. Realize, that your standard paragraph (don’t use basic paragraph in any case) has a plus-symbol after his name and that your settings can easily be overwritten. So I would think, that this is not the best workaround for setting defaults!
app.documents.textDefaults.minimumWordSpacing = 70;
I understand that this can be overwritten and agree that this is a "bad" workaround.
Nevertheless i still want to see it through.
- app.textDefaults.minimumWordSpacing = 70;
changed your code to this and now i works. Thanks dude
Fantastic. App-level default.
Jeppe, this will surely work on document level too.