Forum: Poser - OFFICIAL


Subject: Poser.ini location in P7 Mac

svdl opened this issue on Jan 17, 2008 ยท 13 posts


svdl posted Thu, 17 January 2008 at 10:17 AM

To make my Python scripts cross-platform, I need to find out where Poser 7 stores its poser.ini file on Mac OS. I don't have a Mac, so I can't find out for myself.

Could anybody help me out here? Thanks in advance

The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter

My gallery   My freestuff


coocooFORcocoapuffs posted Thu, 17 January 2008 at 11:32 AM

hi svdl, don't know about poser pc ini file or = on a mac, but here are ur options: files that are outside the normal root dir of the install, which i think is pretty much the same on both platforms. perhaps the xml file, which has runtime location in it?



svdl posted Thu, 17 January 2008 at 11:41 AM

I'm looking for the file called poser.ini, with contents like in the attached text file.

Poser 6 stores this file in :/runtime/prefs/poser.ini

Poser 7 stores this file in "documents and settings/%username%/applcation data/poser 7/poser.ini" - on a PC.

Where does Poser 7 store this file on a Mac?

The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter

My gallery   My freestuff


coocooFORcocoapuffs posted Thu, 17 January 2008 at 11:55 AM

svdl, pretty sure macs don't use the filetype of ini. we have preferences and plists and all the other stuff in that screencap, most of which i don't understand nor want to. i think you are going to have to look inside those files to see what it is you need...or there is surely someone here that knows more about mac then i do...i'm pathetic when it comes to that kinda stuff...



coocooFORcocoapuffs posted Thu, 17 January 2008 at 12:34 PM

oh, i just saw ur attachment. the file you are looking for is the one called "Poser Prefs" located in the ~/Library/Preferences/Poser 7 directory. Learn something new everyday!



coocooFORcocoapuffs posted Thu, 17 January 2008 at 12:58 PM

here's the file so u can doublecheck...



coocooFORcocoapuffs posted Thu, 17 January 2008 at 1:03 PM

here's the file so u can doublecheck...



svdl posted Thu, 17 January 2008 at 1:14 PM

Thanks, that's what I needed to know.

The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter

My gallery   My freestuff


coocooFORcocoapuffs posted Thu, 17 January 2008 at 1:14 PM

here's the file so u can doublecheck...



nruddock posted Thu, 17 January 2008 at 3:57 PM

Unlikely as it may seem, this mentioned in "Poser 7 Readme.txt" ;)


svdl posted Thu, 17 January 2008 at 4:03 PM

Now I only need to find out the /Users// folder name from Python. In Windows, I can do this using os.environ["APPDATA"].
Anyone who knows how to do this for the Mac?

The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter

My gallery   My freestuff


nruddock posted Thu, 17 January 2008 at 6:03 PM

It's likely that the following is what you want :-

os.path.expanduser("~")

svdl posted Fri, 18 January 2008 at 12:48 AM

Thanks. Now that you mention it, I remember reading about expanduser in the Python docs.

The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter

My gallery   My freestuff