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
Acrobat
Neue leere Seite
Beitrag
<blockquote data-quote="guggenbichler" data-source="post: 2776325" data-attributes="member: 825501"><p>Folgende Datei anlegen:</p><p></p><p><code class="bbCodeInline">C:\Program Files (x86)\Adobe\Acrobat\Acrobat DC\Acrobat\Javascripts\config.js</code></p><p></p><p>mit folgendem Inhalt:</p><p></p><p><code class="bbCodeInline"></code></p><p><code class="bbCodeInline">trustedNewDoc = app.trustedFunction( function (nWidth, nHeight)</code></p><p><code class="bbCodeInline">{</code></p><p><code class="bbCodeInline">app.beginPriv();</code></p><p><code class="bbCodeInline">switch( arguments.length ) {</code></p><p><code class="bbCodeInline">case 2:</code></p><p><code class="bbCodeInline">{ var newDoc = app.newDoc( nWidth, nHeight ); newDoc.saveAs("Unbenannt.pdf"); newDoc.info.ModDate = new Date(); }</code></p><p><code class="bbCodeInline">break;</code></p><p><code class="bbCodeInline">case 1:</code></p><p><code class="bbCodeInline">{ var newDoc = app.newDoc( nWidth ); newDoc.saveAs("Unbenannt.pdf"); newDoc.info.ModDate = new Date(); }</code></p><p><code class="bbCodeInline">break;</code></p><p><code class="bbCodeInline">default:</code></p><p><code class="bbCodeInline">{ var newDoc = app.newDoc(); newDoc.saveAs("Unbenannt.pdf"); newDoc.info.ModDate = new Date(); }</code></p><p><code class="bbCodeInline">}</code></p><p><code class="bbCodeInline">app.endPriv();</code></p><p><code class="bbCodeInline">})</code></p><p><code class="bbCodeInline">app.addSubMenu({ cName: "Neu", cParent: "File", nPos: 0 })</code></p><p><code class="bbCodeInline">app.addMenuItem({ cName: "DIN A5", cParent: "Neu", cExec:</code></p><p><code class="bbCodeInline">"trustedNewDoc(421,595.4)"});</code></p><p><code class="bbCodeInline">app.addMenuItem({ cName: "DIN A4", cParent: "Neu", cExec:</code></p><p><code class="bbCodeInline">"trustedNewDoc(595.4,842)"});</code></p><p><code class="bbCodeInline">app.addMenuItem({ cName: "DIN A3", cParent: "Neu", cExec:</code></p><p><code class="bbCodeInline">"trustedNewDoc(842,1191)"});</code></p><p><code class="bbCodeInline">app.addMenuItem({ cName: "Benutzerdefiniert...", cParent: "Neu", cExec:</code></p><p><code class="bbCodeInline">"var nWidth = 2.8352707684 * app.response({ cQuestion:'Bitte Breite in mm eingeben: (max. 5000.0)', cTitle: 'Custom Page Size'});"</code></p><p><code class="bbCodeInline"> +"if (nWidth == 0) nWidth = 595.4;"</code></p><p><code class="bbCodeInline"> +"var nHeight = 2.8352707684 * app.response({ cQuestion:'Bitte Höhe in mm eingeben: (max 5000.0)', cTitle: 'Custom Page Size'});"</code></p><p><code class="bbCodeInline"> +"if (nHeight == 0) nHeight = 842;"</code></p><p><code class="bbCodeInline"> +"trustedNewDoc(nWidth, nHeight) "})</code></p><p><code class="bbCodeInline"></code></p></blockquote><p></p>
[QUOTE="guggenbichler, post: 2776325, member: 825501"] Folgende Datei anlegen: [ICODE]C:\Program Files (x86)\Adobe\Acrobat\Acrobat DC\Acrobat\Javascripts\config.js[/ICODE] mit folgendem Inhalt: [ICODE] trustedNewDoc = app.trustedFunction( function (nWidth, nHeight) { app.beginPriv(); switch( arguments.length ) { case 2: { var newDoc = app.newDoc( nWidth, nHeight ); newDoc.saveAs("Unbenannt.pdf"); newDoc.info.ModDate = new Date(); } break; case 1: { var newDoc = app.newDoc( nWidth ); newDoc.saveAs("Unbenannt.pdf"); newDoc.info.ModDate = new Date(); } break; default: { var newDoc = app.newDoc(); newDoc.saveAs("Unbenannt.pdf"); newDoc.info.ModDate = new Date(); } } app.endPriv(); }) app.addSubMenu({ cName: "Neu", cParent: "File", nPos: 0 }) app.addMenuItem({ cName: "DIN A5", cParent: "Neu", cExec: "trustedNewDoc(421,595.4)"}); app.addMenuItem({ cName: "DIN A4", cParent: "Neu", cExec: "trustedNewDoc(595.4,842)"}); app.addMenuItem({ cName: "DIN A3", cParent: "Neu", cExec: "trustedNewDoc(842,1191)"}); app.addMenuItem({ cName: "Benutzerdefiniert...", cParent: "Neu", cExec: "var nWidth = 2.8352707684 * app.response({ cQuestion:'Bitte Breite in mm eingeben: (max. 5000.0)', cTitle: 'Custom Page Size'});" +"if (nWidth == 0) nWidth = 595.4;" +"var nHeight = 2.8352707684 * app.response({ cQuestion:'Bitte Höhe in mm eingeben: (max 5000.0)', cTitle: 'Custom Page Size'});" +"if (nHeight == 0) nHeight = 842;" +"trustedNewDoc(nWidth, nHeight) "}) [/ICODE] [/QUOTE]
Bilder bitte
hier hochladen
und danach über das Bild-Icon (Direktlink vorher kopieren) platzieren.
Zitate einfügen…
Authentifizierung
Wenn ★ = 12, ◇ = 4 und die Hälfte von ★ zu ◇ addiert wird, was ist das Ergebnis?
Antworten
Start
Forum
Bildbearbeitung (2D), Vektor- & Layoutbearbeitung
Acrobat
Neue leere Seite
Oben