Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Sep 18 2:50 am)
Attached Link: http://docs.python.org/2.6/library/tempfile.html
UAC should not prevent a program from saving anywhere and reloading the saved file from that location. the file may just not be visible to another program at the location.Anyway, there are regular methods to create temp files, no need to use poser specific methods (see link).
Thanks, Dizzi. It looks like that should help. :laugh: I didn't even know the tempfile module existed. Need to pay more attention to such things. :lol:
===========================sigline======================================================
Cage can be an opinionated jerk who posts without thinking. He apologizes for this. He's honestly not trying to be a turkeyhead.
Cage had some freebies, compatible with Poser 11 and below. His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.
This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.
Does anyone know if User Access Control or its equivalent on Mac causes any trouble when a script tries to save to the Poser libraries? I'm trying to make a script compatible with older versions of Poser, but to do that I need to save and read a cr2 file. I don't know where I can safely save a file, in cases where a user has UAC and a version of Poser pre-dating the PPy TempLocation() option.
Any ideas?
===========================sigline======================================================
Cage can be an opinionated jerk who posts without thinking. He apologizes for this. He's honestly not trying to be a turkeyhead.
Cage had some freebies, compatible with Poser 11 and below. His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.