Skip navigation
Currently Being Moderated

Script causes error by mouse-click on master page in Indesign

Aug 29, 2011 1:09 AM

 

Hello everybody,

following error message appears, if I make a panel with Adobe Configurator 2.0 for Indesign and then click on a master page-item:

 

---

 

An attached script has caused the following error:

Invalid object

Would you like to disable this event handler?

---

 

Bildschirmfoto2011-08-28.png

 

 

The error also occurs when a script accesses a master page of any document.

 

 

Anyone knows a solution to the problem?

 

 

 

 

Operating System: Mac OS 10.6.8, Application: Indesign CS5.5

 

 

Best regards

Roland

 
Replies
  • Currently Being Moderated
    Aug 29, 2011 2:31 AM   in reply to drerol74

    This is a fix by guess, go to configurator installation folder with finder.

     

    Find a file named "IDSN07Template.jsx", and find these code lines:


    function addListeners()
    {
        writelog("add listeners");       
        app.eventListeners.add('afterAttributeChanged', onAttrMsg, false);  
        return "<value>true</value>";
    }

     

     

    Comment out line

     

    //app.eventListeners.add('afterAttributeChanged', onAttrMsg, false); 

     

    and re-export your panel.

     

    This is a issue which I meet before, but not sure it's your problem.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 29, 2011 7:32 AM   in reply to drerol74

    In my memory, click the app, and select "show package content", then you can see the subfolder and files of the app in the Mac finder.

     

    File IDSN07Template.jsx should under "bundles/IDSN-07", after modify it, it will not happen when you re-export panel next time.

     

    This modification will disable some icon status sync ability, but will not impact major features of the panel.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 22, 2011 8:02 AM   in reply to drerol74

    I had similar "Invalid object Would you like to disable this event handler? " message.

     

    I got rid of it by placing the following code into "On Panel Initialization":

     

    app.removeEventListener( 'afterAttributeChanged', onAttrMsg );

    app.removeEventListener('onIdle', onIdle);

     

    regards

     

    Erkki

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 23, 2011 5:05 AM   in reply to drerol74

    Hi Roland,

     

    Yes, exactly!

     

    Erkki

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points