# Macros gets the information of the read file

**URL:** https://discourse.paraview.org/t/macros-gets-the-information-of-the-read-file/9181
**Category:** ParaView Support
**Tags:** python
**Created:** [March 15, 2022, 8:40am UTC](https://discourse.paraview.org/t/macros-gets-the-information-of-the-read-file/9181 "2022-03-15T08:40:44Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![flow\_zhang](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/f/2bfe46/32.png) [@flow\_zhang](https://discourse.paraview.org/u/flow_zhang)
#### Post date: [March 15, 2022, 8:40am UTC](https://discourse.paraview.org/t/macros-gets-the-information-of-the-read-file/9181/1 "2022-03-15T08:40:44Z")

</div>

I want to use the macros script to do the same processing for all the read in files. How can I get information from the tree of the pipline browser when I’m not sure about the contents of the file

 ![image](https://discourse.paraview.org/uploads/default/original/2X/c/c2ef3a111bd844b18cfbbeb9d861f61046748c59.png)  
As shown in the figure, how to make different files perform the same operation.
