2 Replies Latest reply on Nov 27, 2012 3:29 PM by frameexpert

    Adding functionality to a built-in object using prototype

    frameexpert Level 4

      Has anyone tried augmenting InDesign's built in objects using the .prototype propery? I might want to add some functionality to the Paragraph object and it is tempting to use its prototype to add methods so that all Paragraph instances will have access to these methods. Would I do this in a startup script so that all of my scripts have access to the updated object? I don't have a lot of experience with this, so any feedback would be appreciated. Thank you very much.