PSD-Tutorials.de
Forum für Design, Fotografie & Bildbearbeitung
Tutkit
Agentur
Hilfe
Kontakt
Start
Forum
Aktuelles
Besonderer Inhalt
Foren durchsuchen
Tutorials
News
Anmelden
Kostenlos registrieren
Aktuelles
Suche
Suche
Nur Titel durchsuchen
Von:
Menü
Anmelden
Kostenlos registrieren
App installieren
Installieren
JavaScript ist deaktiviert. Für eine bessere Darstellung aktiviere bitte JavaScript in deinem Browser, bevor du fortfährst.
Du verwendest einen veralteten Browser. Es ist möglich, dass diese oder andere Websites nicht korrekt angezeigt werden.
Du solltest ein Upgrade durchführen oder einen
alternativen Browser
verwenden.
Antworten auf deine Fragen:
Neues Thema erstellen
Start
Forum
Bildbearbeitung (2D), Vektor- & Layoutbearbeitung
Vektorprogramme
Skript in Illustrator funktioniert nicht wie gewollt...?!?
Beitrag
<blockquote data-quote="SehRum" data-source="post: 2634897" data-attributes="member: 381376"><p><u>Hatte es gelesen. Hatte es in <strong>etwa </strong>verstanden. </u></p><p></p><p>Das hieße doch wohl einen anderen Pfad als den üblicherweise im Illustratorordner zu benutzen UND dies im Script entsprechen zu vermerken...?!? </p><p>Verstehe/deute so die Hinweise unter "<strong>include path</strong>" dementsprechend, könnte es aber ebensogut mißdeuten. Denn "<strong>mylibrary.js</strong>" ist ja formal betrachtet für mich ein ganz anderes Script....?!? </p><p>Bzw. wohl dann doch eher "<strong>mylibrary.js</strong>" in eben diesen anderen Pfad zu hinterlegen...?!? </p><p>Und diese Befehlszeile<span style="color: #ff4d4d"><strong> #include "~/lib/mylibrary.js"</strong> <span style="color: #ffffff"><span style="color: #000000">in</span></span><strong><span style="color: #ffffff"><span style="color: #000000"> eben "<strong>mylibrary.js</strong>"</span></span></strong><span style="color: #ffffff"><span style="color: #000000"> einzuarbeiten</span></span><strong><span style="color: #ffffff"><span style="color: #000000"> (<span style="color: #ff0000">WO?</span>)</span></span></strong></span></p><p>Wenn ja, wüßte ich nicht <span style="color: #ff0000"><strong>wie</strong></span>, da ich Scripte nutze, sie aber noch nie bearbeitet habe, in Ermangelung an Wissen+Übung...?!? <strong></strong></p><p><strong></strong></p><p><strong>Deshalb </strong>meine Eingangsfrage...zu viele wenns und vielleichts...</p><p></p><p><strong>Im Übrigen</strong> hatte eine <u><span style="color: #b300b3"><strong>ähnliche Scriptkonstellation</strong></span> wie bei diesem vorliegendem Problem</u>, bei einem Voronoiscript <strong>auch </strong>von Hiroyuki Sato, funktioniert. >>></p><p></p><p><strong><span style="color: #b300b3">Illustrator-Javascript-Voronoi : lib</span></strong></p><p><strong><span style="color: #b300b3">======================</span></strong></p><p><strong><span style="color: #b300b3">This folder contains JavaScript files which are included from other script files.</span></strong></p><p><strong><span style="color: #b300b3">file extension</span></strong></p><p><strong><span style="color: #b300b3">======================</span></strong></p><p><strong><span style="color: #b300b3">There's a convention to use the file extension **.jsxinc** for JavaScript include files.</span></strong></p><p><strong><span style="color: #b300b3">("</span></strong></p><p><strong><span style="color: #b300b3">[JavaScript Tools Guide.pdf]()</span></strong></p><p><strong><span style="color: #b300b3">" p.234)</span></strong></p><p><strong><span style="color: #b300b3">So that the files don't appear in the menu of Illustrator. Since the files in this folder aren't written by me, I didn't modify these at all including these filenames. You can change the file extension of these. In this case, make sure to change #include directive of the script that includes these.</span></strong></p><p><strong><span style="color: #b300b3">include path</span></strong></p><p><strong><span style="color: #b300b3">======================</span></strong></p><p><strong><span style="color: #b300b3">In the older version of Illustrator, a folder under "Scripts" folder is not recognized as an include-path.</span></strong></p><p><strong><span style="color: #b300b3">One of the solutions is to use HOME folder. ("C:\Users\ &lt;user name&gt;" in Windows)</span></strong></p><p><strong><span style="color: #b300b3">If you put "mylibrary.js" under "C:\Users\ &lt;user name&gt; \lib", it is recognized with following directive.</span></strong></p><p><strong><span style="color: #b300b3">```javascript</span></strong></p><p><strong><span style="color: #b300b3">#include "~/lib/mylibrary.js"</span></strong></p><p><strong><span style="color: #b300b3">```</span></strong></p><p><strong><span style="color: #b300b3">Hiroyuki Sato [<a href="https://github.com/shspage](https://github.com/shspage)" target="_blank">https://github.com/shspage](https://github.com/shspage)</a></span></strong></p><p><strong><span style="color: #b300b3">----------------------</span></strong></p><p><strong><span style="color: #b300b3">**Copyright Notice**</span></strong></p><p><strong><span style="color: #b300b3"></span></strong></p><p><strong><span style="color: #b300b3">**rhill-voronoi-core.js** </span></strong></p><p><strong><span style="color: #b300b3">[<a href="https://github.com/gorhill/Javascript-Voronoi](https://github.com/gorhill/Javascript-Voronoi)" target="_blank">https://github.com/gorhill/Javascript-Voronoi](https://github.com/gorhill/Javascript-Voronoi)</a> </span></strong></p><p><strong><span style="color: #b300b3">Licensed under The MIT License </span></strong></p><p><strong><span style="color: #b300b3">Copyright (c) 2010-2013 Raymond Hill</span></strong></p></blockquote><p></p>
[QUOTE="SehRum, post: 2634897, member: 381376"] [U]Hatte es gelesen. Hatte es in [B]etwa [/B]verstanden. [/U] Das hieße doch wohl einen anderen Pfad als den üblicherweise im Illustratorordner zu benutzen UND dies im Script entsprechen zu vermerken...?!? Verstehe/deute so die Hinweise unter "[B]include path[/B]" dementsprechend, könnte es aber ebensogut mißdeuten. Denn "[B]mylibrary.js[/B]" ist ja formal betrachtet für mich ein ganz anderes Script....?!? Bzw. wohl dann doch eher "[B]mylibrary.js[/B]" in eben diesen anderen Pfad zu hinterlegen...?!? Und diese Befehlszeile[COLOR=#ff4d4d][B] #include "~/lib/mylibrary.js"[/B][COLOR=#000000] [/COLOR][COLOR=#ffffff][COLOR=#000000]in[/COLOR][/COLOR][B][COLOR=#ffffff][COLOR=#000000] eben "[B]mylibrary.js[/B]"[/COLOR][/COLOR][/B][COLOR=#ffffff][COLOR=#000000] einzuarbeiten[/COLOR][/COLOR][B][COLOR=#ffffff][COLOR=#000000] ([COLOR=#ff0000]WO?[/COLOR])[/COLOR][/COLOR][/B][/COLOR] Wenn ja, wüßte ich nicht [COLOR=#ff0000][B]wie[/B][/COLOR], da ich Scripte nutze, sie aber noch nie bearbeitet habe, in Ermangelung an Wissen+Übung...?!? [B] Deshalb [/B]meine Eingangsfrage...zu viele wenns und vielleichts... [B]Im Übrigen[/B] hatte eine [U][COLOR=#b300b3][B]ähnliche Scriptkonstellation[/B][/COLOR] wie bei diesem vorliegendem Problem[/U], bei einem Voronoiscript [B]auch [/B]von Hiroyuki Sato, funktioniert. >>> [B][COLOR=#b300b3]Illustrator-Javascript-Voronoi : lib ====================== This folder contains JavaScript files which are included from other script files. file extension ====================== There's a convention to use the file extension **.jsxinc** for JavaScript include files. (" [JavaScript Tools Guide.pdf]() " p.234) So that the files don't appear in the menu of Illustrator. Since the files in this folder aren't written by me, I didn't modify these at all including these filenames. You can change the file extension of these. In this case, make sure to change #include directive of the script that includes these. include path ====================== In the older version of Illustrator, a folder under "Scripts" folder is not recognized as an include-path. One of the solutions is to use HOME folder. ("C:\Users\ <user name>" in Windows) If you put "mylibrary.js" under "C:\Users\ <user name> \lib", it is recognized with following directive. ```javascript #include "~/lib/mylibrary.js" ``` Hiroyuki Sato [[URL]https://github.com/shspage](https://github.com/shspage)[/URL] ---------------------- **Copyright Notice** **rhill-voronoi-core.js** [[URL]https://github.com/gorhill/Javascript-Voronoi](https://github.com/gorhill/Javascript-Voronoi)[/URL] Licensed under The MIT License Copyright (c) 2010-2013 Raymond Hill[/COLOR][/B] [/QUOTE]
Bilder bitte
hier hochladen
und danach über das Bild-Icon (Direktlink vorher kopieren) platzieren.
Zitate einfügen…
Authentifizierung
Der grüne Frosch hüpft über die Hügel an den Bäumen vorbei in die Höhle. Bitte nenne das vierte Wort!
Antworten
Start
Forum
Bildbearbeitung (2D), Vektor- & Layoutbearbeitung
Vektorprogramme
Skript in Illustrator funktioniert nicht wie gewollt...?!?
Oben