Skip to main content
Participant
December 5, 2022
Answered

scripting for woodwing change status

  • December 5, 2022
  • 1 reply
  • 352 views

Hi. I have a weird problem.

Working with Indesign 2021 & Woodwing

I use 

app.sendObjectToNext(mdID);
to send my status to the next "status".  It works if I don't automatically close my document afterwards. But it doesn't work if I close the document in the same script. What goes wrong? 
 
Thanks for the help!
This topic has been closed for replies.
Correct answer Loic.Aigon

Did you get in touch with Woodwing support for this issue? I haven't done any woodwind-related scripting but maybe the operation is somehow asynchronous and tries to reach the object by id later on once the function call is done. Then closing the doc would make the object non-reachable. It's a shot in the dark here so Woodwing support is probably the best way to get answers.

1 reply

Loic.Aigon
Loic.AigonCorrect answer
Legend
December 5, 2022

Did you get in touch with Woodwing support for this issue? I haven't done any woodwind-related scripting but maybe the operation is somehow asynchronous and tries to reach the object by id later on once the function call is done. Then closing the doc would make the object non-reachable. It's a shot in the dark here so Woodwing support is probably the best way to get answers.