I am running with Tony's idea to monitor use of WB Studio, watch for the current script to be saved, scan the file, and add any new UDF/UDS names to the WIL.clr / WIL.clusr file for instant colorization.
Question: I usually have 10+ tabs open... Is there anywhere I can grab the list of files currently open in WB Studio - the list of tabs?
Related Question: Odd thing I've wondered about for some time... Each time I open WB Studio, the tabs are in a different order. Is there a way to control that and make them open in the order I prefer (or even understand why/how the order changes)?
What I did:
I checked for an INI file in dirHome() and surrounds, but did not find a list of open files...
I scanned the registry and found an MRU list in a couple of places, but not a list of open files...
My results, of course, mean little. I'm the guy who can go to google, type "Biden" and conclude there is no such person.
I knew I would stumble across the answer one day... it only took a year... Answering for posterity, including moi-même.
The list of currently open files is found here:
HKEY_CURRENT_USER\Software\Wilson WindowWare\WinBatch Studio\Workspace\Workspaces\Default
Each file is within its own [key] (i.e. folder), labelled window_0 to window_## (where ## is num_files_plus_one, since zero-based)
Within each key, the filename to open is within the string value "PathName"