# How do I find the ActionDescriptors for things that don't show up in Alchemist or ScriptListener?

**URL:** <https://forums.creativeclouddeveloper.com/t/how-do-i-find-the-actiondescriptors-for-things-that-dont-show-up-in-alchemist-or-scriptlistener/2394>\
**Category:** UXP Plugin API\
**Created:** [December 31, 2020, 8:34pm UTC](https://forums.creativeclouddeveloper.com/t/how-do-i-find-the-actiondescriptors-for-things-that-dont-show-up-in-alchemist-or-scriptlistener/2394 "2020-12-31T20:34:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmmatt](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/mmmatt/32/1116_2.png) [@mmmatt](https://forums.creativeclouddeveloper.com/u/mmmatt)\
**Post date:** [December 31, 2020, 8:34pm UTC](https://forums.creativeclouddeveloper.com/t/how-do-i-find-the-actiondescriptors-for-things-that-dont-show-up-in-alchemist-or-scriptlistener/2394/1 "2020-12-31T20:34:13Z")

</div>

So I’ve been trying to learn as much as I can about batchPlay and how to trigger different things. I’ve noticed that there are somethings that just don’t show up in Alchemist or ScriptListener, but you can still trigger/use. A couple of examples found on these forums:

Toggle animation window:

```
const batchPlay = require("photoshop").action.batchPlay;
async function toggleTimeline() {
  await batchPlay(
    [{
      _obj: "select",
      _target: [{
        _ref: "$Mn",
        _enum: "$MnIt",
        _value: "toggleAnimationPalette",
      }]
    }], {});
}

```

View fit on screen:

```
{
  _obj: ‘select’,
  _target: [
     {
        _ref: '$Mn ',
        _enum: ‘$MnIt’,
        _value: ‘fitOnScreen’,
    },
  ]
}

```

My question is how do I find those on my own? I would hate to have to post a question here every time I have something not showing in the my stack.

---

<div class="post-metadata">

**Author:** ![Jarda](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/jarda/32/1909_2.png) [@Jarda](https://forums.creativeclouddeveloper.com/u/Jarda)\
**Post date:** [January 1, 2021, 11:44am UTC](https://forums.creativeclouddeveloper.com/t/how-do-i-find-the-actiondescriptors-for-things-that-dont-show-up-in-alchemist-or-scriptlistener/2394/2 "2021-01-01T11:44:50Z")

</div>

In “action” panel start recording new action and there is flyout menu. Click it and there should be insert menu item. Find command you want to add and click it.

And for more, you can also enable tool recording.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/xdplugins/original/2X/a/a2803ac803658373394fd7e0d38c72b513e8c644.png)

 ![image](https://us1.discourse-cdn.com/flex015/uploads/xdplugins/original/2X/5/5d7a7c64ece77aa291017776834363295ba41f97.png)

Anyway there is also feature to change guide position and you have no chance to record it at all. I am not sure if there are more cases like that.

---

<div class="post-metadata">

**Author:** ![mmmatt](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/mmmatt/32/1116_2.png) [@mmmatt](https://forums.creativeclouddeveloper.com/u/mmmatt)\
**Post date:** [January 2, 2021, 1:32am UTC](https://forums.creativeclouddeveloper.com/t/how-do-i-find-the-actiondescriptors-for-things-that-dont-show-up-in-alchemist-or-scriptlistener/2394/3 "2021-01-02T01:32:26Z")

</div>

Works like a charm! wish the events would register without having to go into action record mode, etc, but now I have a new tool!  
Cheers and Happy New Year!

---

<div class="post-metadata">

**Author:** ![Jarda](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/jarda/32/1909_2.png) [@Jarda](https://forums.creativeclouddeveloper.com/u/Jarda)\
**Post date:** [January 2, 2021, 8:57am UTC](https://forums.creativeclouddeveloper.com/t/how-do-i-find-the-actiondescriptors-for-things-that-dont-show-up-in-alchemist-or-scriptlistener/2394/4 "2021-01-02T08:57:48Z")

</div>

In such a case you would record menu items click instead of e.g. Gaussian blur itself.
