Forum: Poser Python Scripting


Subject: How do you avoid UAC problems writing to poser.AppLocation() subfolders ?

3dcheapskate opened this issue on Apr 23, 2020 ยท 38 posts


3dcheapskate posted Wed, 29 April 2020 at 4:05 AM

I've just started trying to use the new %APPDATA% based location in Windows 10.

First minor surprise:

    ...
    sTmp = os.environ['APPDATA']
    print "%APPDATA% is: ", sTmp
    ...

...prints...

%APPDATA% is:  C:UsersdAppDataRoaming

So the "Roaming" bit is already included in %APPDATA%.


The 3Dcheapskate* occasionally posts sensible stuff. Usually by accident. And it usually uses Poser 11, with units set to inches. Except when it's using Poser 6 or PP2014, or when its units are set to PNU or something else.
*soon only to be available in two flavours - 
 DAZ and Renderosity