• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Suche Script oder Plug-in: Verknüpfungen suchen und einfärben

Enthusiast ,
Jan 26, 2022 Jan 26, 2022

Copy link to clipboard

Copied

Hallo!

Viele viele Jahre ist es her, aber ich kann mich erinnern dass es für Indesign einen Script oder Plug-in gab, wo mir alle verwendeten Verknüpfungen in einem Dokument in den verschiedenen Ordner im Finder suchte und z.b. Grün einfärbte. Ich weiß es gibt die Paket-Funktion, aber manchmal möchte man die Ordner mit jede Menge Bilder behalten und nur die im Dokument verwendeten Verknüpfungen gekennzeichnet haben. 

 

Kennt jemand noch diese Funktion? Ich finde leider mit Google nichts...

Dankeschön!

TOPICS
Feature request , How to , Scripting

Views

944

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jan 27, 2022 Jan 27, 2022

This script will apply the green label to each link in the active document.

- Mark

 

colorLinksByFinderLabelIndex(app.activeDocument, 6);  // 6 = GREEN


function colorLinksByFinderLabelIndex(doc, labelIndex) {
    // labelIndex is a Number in range 0-7
    doc = doc || app.activeDocument;
    labelIndex = labelIndex || 2;
    var links = doc.links;

    for (var i = 0; i < links.length; i++) {
        var link = links[i];

        // don't bother if it's missing
        if (link.status == LinkS
...

Votes

Translate

Translate
Enthusiast ,
Jan 26, 2022 Jan 26, 2022

Copy link to clipboard

Copied

Die englische Übersetzung ist nicht ganz korrekt, ich meine für Verknüpfungen die "Links"!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 26, 2022 Jan 26, 2022

Copy link to clipboard

Copied

Hallo aniri5j9ox8tw2ln,

mit welchem Mac OS bist Du unterwegs?

 

Wenn, dann müsste man das mit Apple-Script gehen.

Die verlinkten Dateien auslesen und denen dann eine Eigenschaft verpassen.

 

Bin aber auf Windows 10 unterwegs und bei der praktischen Umsetzung keine Hilfe.

Dort gibt's das Einfärben von Dateien im Dateisystem nicht.

 

Gruß,
Uwe Laubender

( ACP )

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jan 26, 2022 Jan 26, 2022

Copy link to clipboard

Copied

Ich bin mit MacOs Monterey unterwegs...

Hmm dann werde ich mich mal informieren ob ich Hilfe bezgl. Apple Script bekommen kann.

Danke!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jan 26, 2022 Jan 26, 2022

Copy link to clipboard

Copied

Hi,

 

ich kenne das Script nicht, aber:
die Bridge kann dir alle Verknüpfungen eines InDesign Dokuments in der Metadaten-Palette anzeigen und über Ansicht -> Verknüpfte Dateien anzeigen fasst sie dir alle Links in der Anzeige zusammen/zeigt nur die Links an.

Je nachdem, was du vorhast...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jan 26, 2022 Jan 26, 2022

Copy link to clipboard

Copied

Danke! An sich ist das auch eine tolle Funktion von Bridge, aber nicht genau das was ich suchte...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 27, 2022 Jan 27, 2022

Copy link to clipboard

Copied

This script will apply the green label to each link in the active document.

- Mark

 

colorLinksByFinderLabelIndex(app.activeDocument, 6);  // 6 = GREEN


function colorLinksByFinderLabelIndex(doc, labelIndex) {
    // labelIndex is a Number in range 0-7
    doc = doc || app.activeDocument;
    labelIndex = labelIndex || 2;
    var links = doc.links;

    for (var i = 0; i < links.length; i++) {
        var link = links[i];

        // don't bother if it's missing
        if (link.status == LinkStatus.LINK_MISSING) continue;

        // if file exists, label it
        if (File(link.filePath).exists)
            app.doScript('tell application "Finder" to set label index of (alias "' + link.filePath + '") to ' + labelIndex, ScriptLanguage.APPLESCRIPT_LANGUAGE);
    }
}

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jan 27, 2022 Jan 27, 2022

Copy link to clipboard

Copied

LATEST

hello Mark!

Great, it works! I thank you so much for your help :))))

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines