theShell.Execute "ls -l """ + theUnixPath + """"
theTextArea.Text = theShell.ReadAll
It’s best to get he Unix shell path unescaped (i.e.:
/Library/Application Support/BRU PE
instead of
/Library/Application\ Support/BRU\ PE
And enclose the path in quotes.
If you want to list files in a folder, I’d suggest you collect the files via Xojo instead of a shell command. Xojo comes with MANY examples, and they are often a very good resource for learning how to do things. For example:
Menu File > New > Examples > Files > FileBrowser.xojo_binary_project
I suggest you study that example. You can also use its techniques to open windows with file lists INSTEAD of the Finder windows. Then you can control the size and placement of them easily using window properties. It may solve many of your problems…
Instead of trying to manipulate Finder, why not do what Douglas mentinon, and collect via Xojo, store in a Database, and create an app to display ONLY those to you in a Xojo window that you now have full control over… basically a MRUF app (Most Recently Used Files)
Or even not bother to store in a file. The Xojo example isn’t all that slow to just refresh folders on demand. Unless you have a lot of files in a given folder. Then I’d suggest the MBS plugin FileListMBS which also is used in several example MBS projects (see bottom of the above page).