# 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:** 1\
**Showing post:** 2

<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.

---

_[View the full topic](https://forum.inductiveautomation.com/t/viewing-more-recently-modified-resources-possible/70585)._
