# Questions about api2

**URL:** <https://forums.creativeclouddeveloper.com/t/questions-about-api2/3761>\
**Category:** Photoshop\
**Created:** [October 20, 2021, 7:41am UTC](https://forums.creativeclouddeveloper.com/t/questions-about-api2/3761 "2021-10-20T07:41:26Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ddbell](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/ddbell/32/1030_2.png) [@ddbell](https://forums.creativeclouddeveloper.com/u/ddbell)\
**Post date:** [October 20, 2021, 6:25pm UTC](https://forums.creativeclouddeveloper.com/t/questions-about-api2/3761/4 "2021-10-20T18:25:54Z")

</div>

I think this page has the documention that you need but it is giving a 404 error right now. The Adobe “stage” documents have lots of intermittent 404 error issues.

[https://developer-stage.adobe.com/photoshop/uxp/2022/ps\_reference/media/executeasmodal/](https://developer-stage.adobe.com/photoshop/uxp/2022/ps_reference/media/executeasmodal/)

The main thing with API 2 is running the execute as modal. See this post here.

> [@How To Get BatchPlay To Work With API 2](http://forums.creativeclouddeveloper.com/t/how-to-get-batchplay-to-work-with-api-2/3760/28):
>
> That doesn’t tell us anything about whether or not modeless Photoshop dialog interaction will be supported in API 2. That is a huge deal for some plugins if that functionality gets dropped. I really wish we had some clarification on this.

Also, if you want to see a basic working example of using executeAsModal in API 2 then download this sample plugin. Just change the .ccx to .zip and you can view the files. I made this for a bug report to give to Adobe for a text resizing bug. However, the executeAsModal part works as it should.

[https://damonbell.com/downloads/text-resize-bug\_PS.ccx](https://damonbell.com/downloads/text-resize-bug_PS.ccx)

---

_[View the full topic](https://forums.creativeclouddeveloper.com/t/questions-about-api2/3761)._
