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
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
Copy link to clipboard
Copied
Hi Marc,
thanks for the post on indiscripts.com. I'm glad you dig this.
Cheers
:fab
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
Copy link to clipboard
Copied
Looks like it's all javascript.
Copy link to clipboard
Copied
Nice one! great thing!
Copy link to clipboard
Copied
Thanks for the praises folks.
@L. Guy O\'Rojo Yes its all javascript
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",
});
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
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
Copy link to clipboard
Copied
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.