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 Thu, 23 April 2020 at 11:35 PM

Here are some of the details, bit by bit.

This query is related to my old Smart+ script

That script used to run fine on my system until I upgraded to Windows 10 - but it **wasn't **Windows 10 that caused the problem.

It was the fact that I'd always had Poser installed on a separate drive from Windows, i.e. a non C: drive, before.

But when I upgraded to Windows 10 I had to uninstall all my software first, and when I reinstalled it I put everything on the same drive as Windows.

So with my previous setup I didn't have problem - the script could write my :Runtime:Python:poserScripts:3DCheapskate:SmartPlus:TempPose.pz2 file to poser.AppLocation()without any problem.

However, once Poser was installed on the C drive the dreaded UAC prevented the script from writing the file - insufficient privelege/permissions/whatever.


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