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

CC 2018 13.0.0.125 | Bug with event "afterExport"

Community Expert ,
Oct 21, 2017 Oct 21, 2017

Copy link to clipboard

Copied

Hi fellow scripters,

somthing's wrong with event listening for event "afterExport" with CC 2018 13.0.0.125.

I found that property fullName of the event will give no reasonable value. It's just an empty string.

In versions before, CC 2017.1 and below, there is no problem to track an exported file.
With CC 2018 13.0.0.125—both on Windows and OSX—there seems no way.

( At least I did not find a workaround.)

Here a discussion in German at hilfdirselbst.ch that came up yesterday:

Verspeichert | Script "Explorer-Fenster nach Export öffnen" und ID 13.0

By Ingo Herber on 20. Okt 2017

http://www.hilfdirselbst.ch/gforum/gforum.cgi?post=560045#560045

Regards,
Uwe

TOPICS
Scripting

Views

804

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
Guru ,
Oct 21, 2017 Oct 21, 2017

Copy link to clipboard

Copied

Thanks for reporting, Uwe!

I suggest to create a sticky thread for each new version of InDesign: something like -- "New scripting bugs in CC 2018".

— Kas

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
Guru ,
Oct 21, 2017 Oct 21, 2017

Copy link to clipboard

Copied

Uwe,

Are you sure that this is a bug?

In your example, myEventWithAfterExport is event object -- the only argument passed to the myExportPathShow handler.

#targetengine "test"

main();

function main() {

    var myApplicationEventListener = app.eventListeners.add("afterExport", myExportPathShow, false);

}

function myExportPathShow(myEventWithAfterExport) {

    // RESULTS FOR:

    for (x in myEventWithAfterExport) {

        $.writeln(x + "    :    " + myEventWithAfterExport.toString());

    }

}

In the scripting reference, I don't see the fullName property for the Event object, so why do you expect that it should officially work?

— Kas

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 ,
Oct 23, 2017 Oct 23, 2017

Copy link to clipboard

Copied

Hi Kas,

I think, you have to look after ImportExportEvent :

Adobe InDesign CS6 (8.0) Object Model JS: ImportExportEvent

EDIT:

Or better look here for CC 2018 version 13 DOM:

https://www.indesignjs.de/extendscriptAPI/indesign-latest/#ImportExportEvent.html

Best,
Uwe

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
Guru ,
Oct 23, 2017 Oct 23, 2017

Copy link to clipboard

Copied

LATEST

Thanks for clarification, Uwe!

Now I understood it.

— Kas

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