# Editor Scripts 🔥: Alpha Release

**URL:** <https://forum.defold.com/t/editor-scripts-alpha-release/63573>\
**Category:** Announcements\
**Created:** [October 3, 2019, 2:56pm UTC](https://forum.defold.com/t/editor-scripts-alpha-release/63573 "2019-10-03T14:56:22Z")\
**Posts on this page:** 1\
**Showing post:** 26

<div class="post-metadata">

**Author:** ![Jerakin](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/jerakin/32/3997_2.png) [@Jerakin](https://forum.defold.com/u/Jerakin)\
**Post date:** [October 13, 2019, 12:04pm UTC](https://forum.defold.com/t/editor-scripts-alpha-release/63573/26 "2019-10-13T12:04:19Z")

</div>

I have finally had some time to play around with this! My experience is that though even a lot of things are missing you can still do a quite a bit with some help from python.

The things that would enable me to do a lot more right now is (in order):

I would like to be able to get a “name id” of a selected embedded game object [#2790](https://github.com/defold/editor2-issues/issues/2790). This would enable me to do a lot of things, because this would mean I could find the item in a text file and then do whatever I want with it.

Ability to query both open file and selection [#2784](https://github.com/defold/editor2-issues/issues/2784). I was able to make a script that adds all selected images to an existing atlas that was also selected. It would be a nicer if I could add the images to the currently open atlas.

A way to get user input [#2786](https://github.com/defold/editor2-issues/issues/2786), this would make it so that I can create files with names decided by the user. One of the scripts I made creates a “monarch scene” (collection, gui\_script, and gui) but it requires that you have already made a gui scene, it would be nicer if I could popup a dialog asking for the name and then create all 3 items.

A not as important one is that directories should also be resources [2787](https://github.com/defold/editor2-issues/issues/2787). This would enable me to right click on a folder and “batch” do things with it instead of having to open the folder and then selected everything in it.

* * *

I was able to do a lot of things with the help of python and [DefTree: A python module for editing Defold files](https://forum.defold.com/t/deftree-a-python-module-for-editing-defold-files/15210). I would totally recommend it when doing things like this (until we get something like it for lua), it was super quick to get a script that did fairly complex things up and running. Small disclaimer _I made deftree_.

If someone wants to see the different scripts they are in this repository  
[https://github.com/Jerakin/defold-editor-scripts](https://github.com/Jerakin/defold-editor-scripts)

---

_[View the full topic](https://forum.defold.com/t/editor-scripts-alpha-release/63573)._
