Revision history  [back]

You should be able to do this with the save-project-as command, invoked as follows from a script:

import wingapi
wingapi.gApplication.ExecuteCommand('save-project-as', filename='whatever.wpr')

For the most part, the API doesn't include functionality that is available by executing commands in the command reference at https://wingware.com/doc/commands