spannende scripts in adobe photoshop und illustrator

11
Alex Kereszturi | [email protected] | Scripts in Photoshop & Illustrator Über die Verwendung von ASCII-basierten sequenziellen Algorithmen in Anwendungen der Pixel- und Vektor-Bildbearbeitung unter Zuhilfenahme von Java-Derivaten

Upload: digicomp-academy-ag

Post on 10-May-2015

428 views

Category:

Documents


1 download

DESCRIPTION

Wer gerne Aktionen aufzeichnet, um sich wiederkehrende Arbeiten zu vereinfachen, wird Skripts lieben. In diesem Workshop am Publishing Day 2014 zeigte Alex Kereszturi, wie Sie auch ohne grosse Programmierkenntnisse mehr aus Photoshop und Illustrator herausholen, indem Sie bestehende Skripts verwenden oder gar eigene schreiben. Ob Fallunterscheidungen oder Schleifen – mit ein paar Zeilen JavaScript kein Problem mehr.

TRANSCRIPT

Page 1: Spannende Scripts in Adobe Photoshop und Illustrator

Alex Kereszturi | [email protected] | Scripts in Photoshop & Illustrator

Über die Verwendung von ASCII-basierten sequenziellen Algorithmen in Anwendungen der Pixel- und Vektor-Bildbearbeitung unter Zuhilfenahme von Java-Derivaten

Page 2: Spannende Scripts in Adobe Photoshop und Illustrator

Alex Kereszturi | [email protected] | Scripts in Photoshop & Illustrator

Drei Puzzle Teile

• JavaScript Grundlagen

• Objekte, Eigenschaften und Methoden

• Das D.O.M von Photoshop und Illustrator

Page 3: Spannende Scripts in Adobe Photoshop und Illustrator

Alex Kereszturi | [email protected] | Scripts in Photoshop & Illustrator

Puzzle-Teil 1: JavaScript Grundlagen

http://www.w3schools.com/js/default.asp

https://www.cs.purdue.edu/sss/projects/dynjs/

• Variablen

• bedingte Anweisungen

Page 4: Spannende Scripts in Adobe Photoshop und Illustrator

Alex Kereszturi | [email protected] | Scripts in Photoshop & Illustrator

Puzzle-Teil 1: JavaScript Grundlagen (Schubladen)

myAlter = 35 ;

Name der Schublade

Die «Socken»

in die Schublade legen Satzende

Page 5: Spannende Scripts in Adobe Photoshop und Illustrator

Alex Kereszturi | [email protected] | Scripts in Photoshop & Illustrator

Puzzle-Teil 1: JavaScript Grundlagen (wenn-dann)

if ( myAlter > 35 ) { alert("alter Schwede!"); } else { alert("Jungsporn!"); }

wenn§

dann das hier§

das hier§

ansonsten§

Bedingung§

Page 6: Spannende Scripts in Adobe Photoshop und Illustrator

Alex Kereszturi | [email protected] | Scripts in Photoshop & Illustrator

Puzzle-Teil 2: Objekte, Eigenschaften & Methoden

Objekt : myVelo = new Velo();

Eigenschaft : myVelo.anzahlRaeder

Methode: myVelo.beschleunigenBis(15);

Page 7: Spannende Scripts in Adobe Photoshop und Illustrator

Alex Kereszturi | [email protected] | Scripts in Photoshop & Illustrator

Puzzle-Teil 3: Das Document Object Model (D.O.M.)

http://www.adobe.com/devnet/photoshop/scripting.html http://www.adobe.com/devnet/illustrator/scripting.html

Velo-Garage

Velo

Rad

Schraube

Rad

Velo

Rad

Was gibt es alles? Was kann man damit tun?

Page 8: Spannende Scripts in Adobe Photoshop und Illustrator

Alex Kereszturi | [email protected] | Scripts in Photoshop & Illustrator

Los geht’s… aber wohin?

In der Applikation Auf der Festplatte

Menü: Datei > Skripten > …

C:\Program Files\Adobe\ Adobe Photoshop CC (64 Bit)\Presets\Scripts

Page 9: Spannende Scripts in Adobe Photoshop und Illustrator

Alex Kereszturi | [email protected] | Scripts in Photoshop & Illustrator

First Contact: Der Skriptereignis-Manager (Photoshop)

wichtig!

Page 10: Spannende Scripts in Adobe Photoshop und Illustrator

Alex Kereszturi | [email protected] | Scripts in Photoshop & Illustrator

Wo finde ich Scripts?

www.creativebloq.com/photoshop/free-scripts-4132388

http://design.tutsplus.com/ articles/20-free-and-useful-adobe-illustrator-scripts--vector-3849

Page 11: Spannende Scripts in Adobe Photoshop und Illustrator

Alex Kereszturi | [email protected] | Scripts in Photoshop & Illustrator

Fragen, Anregungen… Aufträge?

Alex Kereszturi [email protected]