Programmatically change the Data Browser window size

Hi,

I have a file loading function that makes a call to

execute "CreateBrowser prompt=\""+PromptStr+"\", select=tmpSelection"


which brings up a Data Browser window and allows me to select a folder and click "OK" to set that folder as the target data folder for loading data from a file. It works just fine.

What I would like to be able to do, however, is change the size of the Data Browser window that pops up. The default size is rather small, and my folder names are sometimes long enough that they don't fit entirely in the window, so I find that I have to resize the window manually each time. I would like this to just default to a large enough window size from the beginning.

Is there a way to do this? Perhaps with ModifyBrowser? If so, how do I append that command to the Execute string properly?

Thanks for the help.
Hello Goure,

There is currently no way to control the size and position of the Data Browser window from the command line. Based on your description I suggest that you click in the Preferences button of the Data Browser and check the box "Remember browser window size and position". With the preferences saved, the modal browser will appear using the last size and position.

A.G.
WaveMetrics, Inc.