Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automating Beautify

Status
Not open for further replies.

Goofus828

Programmer
Nov 9, 2005
127
US
Does anyone know the rest of this statement?
I found this in the forum but someone said the original post was erased.

I have over 2500+ prgs that I would like to beautify.

Code:
Do beautify in (_beautify) with <a lot of parameters>

Thanks.
 
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)

Visual FoxPro tips, advice, training, consultancy
Custom software for your business
 
A further thought .....

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)

Visual FoxPro tips, advice, training, consultancy
Custom software for your business
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top