I see that SubLocations doesn't return sub items (Events, Methods etc.) of things like Windows, is there another way to traverse everything in a project or is SubLocation bugged?
Try the following IDE Script on a new project with an open event on Window1 and it's not shown, any idea how to find it?
Thanks in advance.
Dim s As String = "" Sub Traverse(path As String) s = s + "" + path + EndOfLine Dim itemList As String itemList = Sublocations(path) Dim items() As String items = itemList.Split(ChrB(9)) Dim name As String For Each name In items If path <> "" Then name = path + "." + name Traverse(name) Next End Sub Traverse("") Print(s)