The first param is the name of the file that you want to beautify. The second contains the options. I don't know the format, but it shouldn't be too difficult to figure out.
I suggest you look at BEAUTIFY.PRG, which is in your VFP's XSOURCE\BEAUTIFY folder. You should be able to work out the format of the options by looking at the source code.
MIke
__________________________________
Mike Lewis (Edinburgh, Scotland)
I suspect that if you set the options in the Beautify dialogue, then run run the program without passing the options, it will remember the settings from the dialogue. If that's right, you'd only need to pass the filename each time.
This is only a guess, but it should be easy for you to try it and see.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.