# Export all component text used in Ignition

**URL:** <https://forum.inductiveautomation.com/t/export-all-component-text-used-in-ignition/53668>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [December 2, 2021, 1:36pm UTC](https://forum.inductiveautomation.com/t/export-all-component-text-used-in-ignition/53668 "2021-12-02T13:36:31Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [February 28, 2022, 9:24am UTC](https://forum.inductiveautomation.com/t/export-all-component-text-used-in-ignition/53668/10 "2022-02-28T09:24:58Z")

</div>

idk if it works in the script console, im not sure if the script console has any know of the projects...  
yu might have to put it in a button script.

and for the error it seems you are looping over projects not projectResources  
Are you sure you called getAllProjectResources?

> [@victordcq](#):
>
> ```auto
> for resource in self.getAllProjectResources():
> if str(resource.getResourcePath()
> 
> ```

Edit: i just copied the code in the scriptconsole (apart from the modify translate) and it works for me...  
Did you copy everything?

---

_[View the full topic](https://forum.inductiveautomation.com/t/export-all-component-text-used-in-ignition/53668)._
