Is there a way I can list or access fileNames in a vision project from a script?

I want to create a dynamic docked window navigation bar that reads all windows in a path and then creates buttons for all of them. I am not sure how I can list all of the window paths within a given folder path though

I looked into system.file but that seems to only be for actual files on the machine itself not the ignition project.

So I want to be able to create something that reads the windows from here

and then creates a nav button similar to this (ignore the maintenance & outputs buttons)
image

I greatly appreciate any help and hope I explained my issue well enough :slight_smile:

system.gui.getWindowNames gives you all window paths in the project - you could go through that list with scripting to pull out the ones in the folder you want pretty easily.

1 Like

This worked, thank you!

1 Like