Tue, Nov 19, 7:21 AM CST

Renderosity Forums / Poser Python Scripting



Welcome to the Poser Python Scripting Forum

Forum Moderators: Staff

Poser Python Scripting F.A.Q (Last Updated: 2024 Sep 18 2:50 am)

We now have a ProPack Section in the Poser FreeStuff.
Check out the new Poser Python Wish List thread. If you have an idea for a script, jot it down and maybe someone can write it. If you're looking to write a script, check out this thread for useful suggestions.

Also, check out the official Python site for interpreters, sample code, applications, cool links and debuggers. This is THE central site for Python.

You can now attach text files to your posts to pass around scripts. Just attach the script as a txt file like you would a jpg or gif. Since the forum will use a random name for the file in the link, you should give instructions on what the file name should be and where to install it. Its a good idea to usually put that info right in the script file as well.

Checkout the Renderosity MarketPlace - Your source for digital art content!



Subject: UAC and scripted Poser Library saves?


Cage ( ) posted Sun, 23 March 2014 at 12:38 AM · edited Tue, 19 November 2024 at 5:39 AM

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.


Dizzi ( ) posted Sun, 23 March 2014 at 6:28 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).



Cage ( ) posted Sun, 23 March 2014 at 7:28 AM

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.


Privacy Notice

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.