[JS] Basic question about event listeners and event handlers
i new whole topic of event listeners , event handlers. i'd run test following problem myself, don't know start, , want know if it's impossible -- is, if i'm misunderstanding event listeners , event handlers do.
say have indesign document text frame linked incopy story. can use "afterimport" event listener on text frame perform action time link incopy story gets updated? , event handler have access both story imported, , pathname of incopy file?
thanks.
afterimport event triggered after place document: image, text file, etc. that's not need in case.
btw, don't mention version use. cs5 has many new events, hasn't studied them yet -- in scripting reference found following:
after_links_changed -- dispatched after 1 or more links in event have been added, deleted, or modified. event bubbles. event not cancelable. (default: afterlinkschanged)
probably can use script -- can't check @ moment.
if on cs3/4 can write script runs @ intervals in background , triggers script loops thru links in document , if link modified , type incopy file, it.
kasyan
More discussions in InDesign Scripting
adobe
Comments
Post a Comment