Copy link to clipboard
Copied
(This message was translated with a translator, sorry for the potential problem of translation, I hope my message was clear)
// the animation works without the alert,
// but when I add the alert my script works but it does not animate anymore
alert("Animation")
function animation() {
for (var i = 0; i < 15; i++) {
$.sleep(1000)
app.selection[0].tracking = i;
}
}
animation();
Copy link to clipboard
Copied
I have no idea on this one - perhaps one of the regular scripters here can help you
@m1b perhaps?
Copy link to clipboard
Copied
Hi @jérémiec7588316, how are you realising your animation? Exporting jpegs of each "frame"?
You could try getting a reference to a textFrame (for example) and doing myTextFrame.recompose();
But I'll need to understand what you're doing and how you are doing it. What's the point in making Indesign animate the tracking in your example? What do you do with it? I'm intrigued! 🙂
- Mark
Find more inspiration, events, and resources on the new Adobe Community
Explore Now