Forum: Poser Python Scripting


Subject: Pre-populate save dialog with current filename/path

3doutlaw opened this issue on Dec 11, 2012 · 10 posts


markschum posted Tue, 11 December 2012 at 11:42 AM

the line

find the full path to the Poser folder

pathname = os.path.split(poser.AppLocation())[0]

sets the poser application folder as the start of the path for the file choos3er dialog.

you can simply change that line to point to whatever folder you want like

 

pathname = "c:documents and settingsownermy documentsposer_scenes"

the double slashes are required by python since the is a control character.