Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Indesign CC'14 Script for randomising Baseline shift and character rotation

Community Beginner ,
Sep 08, 2014 Sep 08, 2014

Hi Guys and Gals,


Please could someone write a short script and/or point me in the direction of where I can find one for the following:

I need a script that will randomly adjust the baseline shift and rotation of individual characters within certain certain parameters (e.g +10 baseline shift, 2deg to -10 baseline shift, -2deg)

Many thanks in advance

Matt

TOPICS
Scripting
2.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Sep 18, 2014 Sep 18, 2014

@MattCass87 – do you mean something like that?

RotatedCharacters.png

Uwe

Translate
Community Expert ,
Sep 08, 2014 Sep 08, 2014

Moved to the scripting forum....

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 18, 2014 Sep 18, 2014

bump

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Sep 18, 2014 Sep 18, 2014

There isn't really a simple way of rotating character in InDesign. You'd have to convert each one to outlines and then rotate. But then the text would be no longer editable.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 18, 2014 Sep 18, 2014

Thanks Ariel,


There are options for baseline script and character rotation in the text palette. I know there is a script to randomise it as i've seen it in previous versions of Indesign however they no longer work in the new CC.

So if anyone can point me in the direction of some script writers I can email that would be a huge help.

Thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 18, 2014 Sep 18, 2014

Loic Aigon made one ages ago called text shaker: http://www.scriptopedia.org/en/js-indesign/28-textshaker-en.html

It randomly shifts the baseline up and down. Doesn't skew the text though.

Need more information? Contact Loic directly: www.ozalto.com

Colin

If the answer wasn't in my post, perhaps it might be on my blog at colecandoo!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 21, 2023 Jul 21, 2023
LATEST

Still working in 2023 (v 18.4). This was exactly what I needed to make some body text in a handwriting font look more handwritten. Thank you!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 18, 2014 Sep 18, 2014

@MattCass87 – do you mean something like that?

RotatedCharacters.png

Uwe

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 18, 2014 Sep 18, 2014

Thanks Colin, thats definitely along the correct lines..

Laubender, thats is exactly!!.. albeit i'd be using it to a less dramatic extent. Does that have the ability to set maximum and minimum parameters?

Thanks

Matt

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 18, 2014 Sep 18, 2014

It's no full-blown script yet…
Just one line of code without any features but rotating a selected character by a free value of degree.

Hint: There is a characterRotation property for the Character Class in the DOM.

Uwe

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 18, 2014 Sep 18, 2014

This feature, never exposed to InDesign's user interface, seems a little bit buggy.
It's with us since InDesign CS5.
A word of caution here: I don't know, if any of the modern export methods like Fixed Layout ePUB will support it.

(I strongly doubt that, but did not test yet)

Uwe

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 18, 2014 Sep 18, 2014

Hi Uwe,

I'm very curious to read your script! 

Marc Autret has written the amazing Wordalizer!  Indiscripts :: Wordalizer 1.5 | Create Word Clouds in InDesign CS4-CC!

Capture d’écran 2014-09-18 à 18.44.22.png

Another way to say "HELLO!"!  

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 19, 2014 Sep 19, 2014

@Uwe

Text altering features such as skewing, emboldening, or rotating text don't work with epub export... at least at the time of writing this.

If the answer wasn't in my post, perhaps it might be on my blog at colecandoo!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 19, 2014 Sep 19, 2014

@Colin – Thank you for commenting on this.
You are right. Tested this with InDesign CC-2014…

Uwe

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines