Controlling the Data Browser from procedure

Does anybody know how to control the data browser from a user function?
I would like to write a procedure which opens a data folder, in the same way as when you click the "+" symbol in front of the name of the folder on the data browser.
I think command "setdatafolder" could work.

JellyGem wrote:
Does anybody know how to control the data browser from a user function?
I would like to write a procedure which opens a data folder, in the same way as when you click the "+" symbol in front of the name of the folder on the data browser.

WTZero wrote:
I think command "setdatafolder" could work.

JellyGem wrote:
Does anybody know how to control the data browser from a user function?
I would like to write a procedure which opens a data folder, in the same way as when you click the "+" symbol in front of the name of the folder on the data browser.


The "setdatafolder" command will set the current datafolder but will not show the content of it on the data browser.
What's displayed on the browser is pretty much the same before and after.
What I want to do is to display the content of a specific folder, in the same way when you click the "+" symbol with your mouse.
I want to do this not by using a mouse but from a user function.
Execute:
DisplayHelpTopic "ModifyBrowser"


The expand keyword is what you are interested in.

I'm not sure how you will come up with the lineNum parameter. The GetBrowserLine function might help.
hrodstein wrote:
Execute:
DisplayHelpTopic "ModifyBrowser"


The expand keyword is what you are interested in.

I'm not sure how you will come up with the lineNum parameter. The GetBrowserLine function might help.


This will do the job, thanks!