# How to use Raw data type in batchPlay

**URL:** <https://forums.creativeclouddeveloper.com/t/how-to-use-raw-data-type-in-batchplay/2092>\
**Category:** UXP Plugin API\
**Created:** [October 22, 2020, 5:08pm UTC](https://forums.creativeclouddeveloper.com/t/how-to-use-raw-data-type-in-batchplay/2092 "2020-10-22T17:08:49Z")\
**Posts on this page:** 8\
**Page:** 1

<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:** [October 22, 2020, 5:08pm UTC](https://forums.creativeclouddeveloper.com/t/how-to-use-raw-data-type-in-batchplay/2092/1 "2020-10-22T17:08:49Z")

</div>

I understand that raw data type is ArrayBuffer for inside incoming descriptors. But do you have any example of action that can play raw data type back?

---

<div class="post-metadata">

**Author:** ![AnthonyK](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@AnthonyK](https://forums.creativeclouddeveloper.com/u/AnthonyK)\
**Post date:** [October 25, 2020, 2:34am UTC](https://forums.creativeclouddeveloper.com/t/how-to-use-raw-data-type-in-batchplay/2092/2 "2020-10-25T02:34:03Z")

</div>

Jarda–I have this from my snippet collection which I got from Kerry Shotts.

require(‘photoshop’).action.batchPlay([{ “\_obj”: “get”, “\_target”:{ “\_ref”: “layer”, “\_enum”: “ordinal”, “\_value”: “targetEnum” } }], {})  
.then(result =\> console.log(new Uint8Array(result[0].adjustment[0].legacyContentData)[1]), error =\> console.log(error))

Try running it on an adjustment layer.  
I’m not sure it will help what you’re looking for or not, but it can be used to get the data out of the ArrayBuffer.

---

<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:** [October 25, 2020, 9:42am UTC](https://forums.creativeclouddeveloper.com/t/how-to-use-raw-data-type-in-batchplay/2092/3 "2020-10-25T09:42:28Z")

</div>

No, this is a reading descriptor with Raw data type but I need executing them.

---

<div class="post-metadata">

**Author:** ![kerrishotts](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/kerrishotts/32/8_2.png) [@kerrishotts](https://forums.creativeclouddeveloper.com/u/kerrishotts)\
**Post date:** [October 28, 2020, 12:47am UTC](https://forums.creativeclouddeveloper.com/t/how-to-use-raw-data-type-in-batchplay/2092/4 "2020-10-28T00:47:48Z")

</div>

Is this related to the Neural Filters action representations?

---

<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:** [October 28, 2020, 1:10am UTC](https://forums.creativeclouddeveloper.com/t/how-to-use-raw-data-type-in-batchplay/2092/5 "2020-10-28T01:10:00Z")

</div>

Not only those. This is also related to the Puppet Warp and Liquify. Perhaps something more. The raw data type is not much common but it is definitely used by some actions.

---

<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:** [July 6, 2021, 9:20pm UTC](https://forums.creativeclouddeveloper.com/t/how-to-use-raw-data-type-in-batchplay/2092/6 "2021-07-06T21:20:28Z")

</div>

I found a solution, therefore…

New Alchemist version 1.3.0 with the grouping of items with the same content and **Raw data type support** is available now 🍻 (don’t forget to enable it in code options)

> **[Release 1.3.0 · jardicc/alchemist](https://github.com/jardicc/alchemist/releases/tag/1.3.0)**
>
> adds raw data type support (needs to be enabled in Code \> Options)
> adds grouping of items with same content
> adds "hard ignore" feature into settings (event names that never will be recorded in any ...

---

<div class="post-metadata">

**Author:** ![IanBarber](https://avatars.discourse-cdn.com/v4/letter/i/94ad74/32.png) [@IanBarber](https://forums.creativeclouddeveloper.com/u/IanBarber)\
**Post date:** [July 13, 2021, 8:29am UTC](https://forums.creativeclouddeveloper.com/t/how-to-use-raw-data-type-in-batchplay/2092/7 "2021-07-13T08:29:23Z")

</div>

Just installed version 1.3 and I just wanted to say a Big Thank You for the option to adjust the Font Size. I love the “You must be joking” option, just waiti until you get to 60 then you may well appreciate it 🙂

---

<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:** [July 13, 2021, 9:00am UTC](https://forums.creativeclouddeveloper.com/t/how-to-use-raw-data-type-in-batchplay/2092/8 "2021-07-13T09:00:25Z")

</div>

I am currently working also on scaling native UI components along with font size since in the latest PS there are different sizes for components.
