app.open( File(libraryList[i]) );
myList.selection[i].text is a string not a variable with path to call.
Thank you for the response. I tried that line instead and am still unable to get the libraries to open. The debugger tells me, "Cannot handle the request because a modal dialog or alert is active." Any ideas on how to interpret this?
@Sam – Instead of a "dialog" type of Window use a "palette" type:
var w = new Window ("palette");
"palette" creates a modeless type of dialog.
Or close the Window with type "dialog" before opening the file with:
var myFileToOpen = File(libraryList[i]); w.destroy(); app.open(myFileToOpen);
(Not tested with your code, but should work…)
Thank you so much!