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
coocooFORcocoapuffs posted Thu, 17 January 2008 at 11:32 AM
svdl posted Thu, 17 January 2008 at 11:41 AM
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
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
coocooFORcocoapuffs posted Thu, 17 January 2008 at 1:03 PM
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
coocooFORcocoapuffs posted Thu, 17 January 2008 at 1:14 PM
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/
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
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