# Viewing more recently modified resources: possible?

**URL:** <https://forum.inductiveautomation.com/t/viewing-more-recently-modified-resources-possible/70585>\
**Category:** Ignition\
**Created:** [March 3, 2023, 1:48pm UTC](https://forum.inductiveautomation.com/t/viewing-more-recently-modified-resources-possible/70585 "2023-03-03T13:48:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gdube](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gdube/32/41701_2.png) [@gdube](https://forum.inductiveautomation.com/u/gdube)\
**Post date:** [March 3, 2023, 1:48pm UTC](https://forum.inductiveautomation.com/t/viewing-more-recently-modified-resources-possible/70585/1 "2023-03-03T13:48:38Z")

</div>

Hi guys, is there a list larger than 6 entries for the recently modified templates/windows/views?  
Where I work, we aren't using VCS and sometimes I'd like to do quick sanity check searches for recently modified stuff, like when was a specific window last modified and by whom.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 3, 2023, 5:20pm UTC](https://forum.inductiveautomation.com/t/viewing-more-recently-modified-resources-possible/70585/2 "2023-03-03T17:20:27Z")

</div>

If you're using my [Ignition Extensions](https://forum.inductiveautomation.com/t/ignition-extensions-convenience-utilities-for-advanced-users/64615) module, this is pretty trivial to do with the system.project.getProject() method:

```python
from com.inductiveautomation.ignition.common.project.resource import ResourceType
from com.inductiveautomation.ignition.common.util import ResourceUtil

def getMostRecent(moduleId, typeId):
	project = system.project.getProject()
	
	allResources = [
		resource	
		for resource in project.getResourcesOfType(ResourceType(moduleId, typeId))
		if project.isLocal(resource.resourcePath) # note - this filter will only work in the designer
	]
	allResources.sort(cmp=ResourceUtil.SORT_BY_MOST_RECENT.compare)
	return allResources
	
for resource in getMostRecent("com.inductiveautomation.vision", "windows"):
	print resource.folderPath

```

If you don't/won't/can't use Ignition Extensions, you'll have to obtain a reference to the project in some other way. The two arguments to pass in can be obtained from the filesystem.
