Copy link to clipboard
Copied
In der Erstellung eines PDF-Schaltplans mit "eplan electric P8 2.9 SP1 Update 10" werden rot blinkende Links eingefügt. Beim Zusammenführen von mehreren PDFs mit Adobe Acrobat Pro (Version 2022....) werden die oben erwähnten rot blinkenden Links nicht mehr angezeigt - das "Springen" zum Linkziel funktioniert noch.
Ich vermute einen JavaScript-Fehler, jedenfalls finde ich in den Verknüpfungseigenschaften des Links entspechende Aktionen.
Fact! But unfortunately this can't be the solution - the combined file needs a certain page structure - The schematic must not be the first one.
Copy link to clipboard
Copied
Can you share a sample file?
Copy link to clipboard
Copied
Samples:
Schaltbild-mit-blinker.pdf = Funktion vorhanden - alles ok
SeiteManual.pdf = die Seite, die vor den Schaltplan eingefügt wird
zusammengesetzt.pdf = SeiteManual + Schaltbild-mit-Blinker = Sprungfunktion funktioniert weiterhin- rotes Blinken nicht mehr.
Vielen Dank für etwaige Lösungsansätze.
Copy link to clipboard
Copied
The function "highlight" is not available in the combined document.
Check the Javascript console with ctrl-j.
Copy link to clipboard
Copied
The function"highlight" is available in the "schaltbild...pdf"
In the combined file it is not available...
Why does Acrobat "delete" this function? How can I prevent it from being deleted?
Copy link to clipboard
Copied
Try this: Add the page to "schaltbild...pdf".
Copy link to clipboard
Copied
Schaltbild...pdf geöffnet - it works
Page added (without saving)- it works not
Copy link to clipboard
Copied
It will work when you add the page at the end.
Copy link to clipboard
Copied
Fact! But unfortunately this can't be the solution - the combined file needs a certain page structure - The schematic must not be the first one.
Copy link to clipboard
Copied
When you insert a page at the begin of the document you must change the function highlight:
function highlight(page, coordinates) {
page = page + 1; // <= New
var f = getField('Target');
if (f != null) {
app.clearTimeOut(timer);
finish();
}
var oldDirty = dirty;
var f = addField('Target', 'button', page, coordinates);
f.lineWidth=3;
f.strokeColor = color.red;
dirty = oldDirty;
interval = app.setInterval('blinker()', 500);
interval.counter=0;
timer = app.setTimeOut('finish()',5000);
}
Copy link to clipboard
Copied
Thanks - perfect!
I tried some different files with different pages - it works.
Thanks for your effort