# app.doScript causing memory corruption for download

**URL:** <https://forums.creativeclouddeveloper.com/t/app-doscript-causing-memory-corruption-for-download/11522>\
**Category:** InDesign\
**Created:** [November 4, 2025, 7:21pm UTC](https://forums.creativeclouddeveloper.com/t/app-doscript-causing-memory-corruption-for-download/11522 "2025-11-04T19:21:06Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![hauke354](https://avatars.discourse-cdn.com/v4/letter/h/9de053/32.png) [@hauke354](https://forums.creativeclouddeveloper.com/u/hauke354)\
**Post date:** [November 5, 2025, 11:31am UTC](https://forums.creativeclouddeveloper.com/t/app-doscript-causing-memory-corruption-for-download/11522/3 "2025-11-05T11:31:08Z")

</div>

Seems that app.doScript struggles with asynchronous operations. I have an issue with that too, when using the file system (see my [Problem with Undo and File](https://forums.creativeclouddeveloper.com/t/problem-with-undo-and-file/7644))

---

_[View the full topic](https://forums.creativeclouddeveloper.com/t/app-doscript-causing-memory-corruption-for-download/11522)._
