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

Typography and Automation

Explorer ,
Nov 14, 2012 Nov 14, 2012

Copy link to clipboard

Copied

Fellow InDesign scripters,

while giving a workshop on typography and automation at the University of Applied Sciences Potsdam the students and I created this script collection and also a wiki on scripting InDesign.

Some of these scripts are usefull others just fun. Maybe you want to kill some time with the "Layout Invaders" by schlompf or just bring some text into a fixed width with "swissd for ID" by natael. They are all open source. So feel free to share modify and fiddle with it. If you run into any problems leave an issue over here and we get back to you with a solution.

Cheers Fabian

TOPICS
Scripting

Views

1.6K

Translate

Translate

Report

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
Guide ,
Nov 14, 2012 Nov 14, 2012

Copy link to clipboard

Copied

Hi Fabian,

Awesome collection and very creative projects.

Thanks for sharing

@+

Marc

PS. — See also: http://www.indiscripts.com/post/2012/11/space-invaders-game-in-indesign

Votes

Translate

Translate

Report

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 ,
Nov 14, 2012 Nov 14, 2012

Copy link to clipboard

Copied

Hi Marc,

thanks for the post on indiscripts.com. I'm glad you dig this.

Cheers

:fab

Votes

Translate

Translate

Report

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
Enthusiast ,
Nov 14, 2012 Nov 14, 2012

Copy link to clipboard

Copied

Hi,

seems like my spaceinvadersabilities did not get better in the last 20 years 😉

Great wiki!

Hans-Gerd Claßen

Votes

Translate

Translate

Report

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
Participant ,
Nov 14, 2012 Nov 14, 2012

Copy link to clipboard

Copied

Looks like it's all javascript.

Votes

Translate

Translate

Report

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 ,
Nov 14, 2012 Nov 14, 2012

Copy link to clipboard

Copied

Nice one! great thing!

Votes

Translate

Translate

Report

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 ,
Nov 15, 2012 Nov 15, 2012

Copy link to clipboard

Copied

Thanks for the praises folks.

@L. Guy O\'Rojo Yes its all javascript

Votes

Translate

Translate

Report

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
Contributor ,
Nov 15, 2012 Nov 15, 2012

Copy link to clipboard

Copied

hi sundar jee,

i m trying to createparagraph styles, specifying what we need? But the error message display while running.

I m specifying here the font family which i need and the font style. but not works..

can you sort this out.

var doc = app.documents.item(0);

var paraStyleBodyText = doc.paragraphStyles.add({

  name: "Ariel",

  fontFamily: "Time New Roman",

  fonStyle: "Roman",

  pointSize: 6,

  fillColor: "black25",

});

Votes

Translate

Translate

Report

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 ,
Nov 15, 2012 Nov 15, 2012

Copy link to clipboard

Copied

Hi rajnikids,

try this:

var doc = app.documents.add();

var fontname = "Times New Roman"+"\t"+"Regular";

var parstyle = doc.paragraphStyles.add({        

     appliedFont:fontname    

     });

The fontstyle, in this case regular, has to be separated by a tab.

It would be good if you start a new discussion in the forum when you have more questions.

Cheers

:fab

Votes

Translate

Translate

Report

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
Contributor ,
Nov 15, 2012 Nov 15, 2012

Copy link to clipboard

Copied

Thanks fabian,

Its pretty clear about your instruction to start with new discussion. apologise.

but, on the above script I want to add the poinSize: 10 && fillColor: red.

Could you help on this.

thanks & regards,

rajnikids


Votes

Translate

Translate

Report

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 ,
Nov 15, 2012 Nov 15, 2012

Copy link to clipboard

Copied

LATEST

It would be good if you start a new discussion in the forum when you have more questions.

Your question is totally unrelated to the on-going thread.

Votes

Translate

Translate

Report

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