Sg2.9
document.onChange
Recent RSS
document.onChange
From:  asker
Date:  4. September 2013, 12:33

Hello,

question is: is there a onChange-Event for changing documents?

i have stored values to the document like document.data.xxx which are inserted through a textfield on a palette, but if I switch to an other document the textfield does not update ...

.. so is there a way to refresh/reload the script when changing the document?
a workaround?

thanks

Re: document.onChange
From:  pqbd
Date:  6. September 2013, 04:55

Adobe provides such a callback for CS6 in the CSXS suite, but I don't believe it can be implemented here. Here's a link if you're interested.

As a workaround, why not use scriptographer to do the document switching? Either a keyboard shortcut or a set of buttons on the palette looks like it would work.

Re: document.onChange
Date:  8. September 2013, 01:01

a 'refresh' button on the pallette was my thought -
I had a look around what Illustrator native provides ... no go.

Scripts
08.08.14, 15:24
15.05.14, 14:23
02.03.14, 19:16
18.11.13, 14:48
22.03.13, 03:05
22.02.13, 15:45
Posts
10.01.17, 16:37
19.02.16, 06:03
19.02.16, 06:00
17.01.16, 11:00
12.01.16, 13:10
25.11.15, 08:19
Script of the Moment
Lorem Ipsum Generator 25.06.11