Forum: Poser Python Scripting


Subject: Need help with XA Toolbar for Poser

dougj opened this issue on Feb 15, 2021 ยท 10 posts


dougj posted Mon, 15 February 2021 at 11:08 AM

Hi,

I'm having problems getting the XA Toolbar script to run in Poser Pro 2010 and Poser 11.2. I'm running Windows 10 Pro. The XL Content Library by the same vendor works fine. Any help would be appreciated.

https://www.renderosity.com/rr/mod/bcs/?ViewProduct=88877


HartyBart posted Mon, 15 February 2021 at 4:08 PM

Not sure why it won't run in Poser Pro 10 (best known as Poser Pro 2014), but there are a small number of Poser scripts that are flummoxed when they find they're set to run in Poser 11.2. I think it's due to the unfamiliar version-number(?). Anyway, to get those running need the free AVFix script at https://www.poserlounge.nl/PLWP/fix-for-scripts-in-poser-11-2/. This script run first, once, and then the recalcitrant scripts can run.



Learn the Secrets of Poser 11 and Line-art Filters.


HartyBart posted Mon, 15 February 2021 at 4:30 PM

Here's how to have XA Toolbar and AVFix load together with Poser 11.2, and it works for me.

  1. Copy poserStartup.py from C:|Program Files|Smith Micro|Poser 11|Runtime|Python|poserScripts and save one copy as a backup and another to the Desktop. poserStartup.py needs to be edited outside of C:|Program Files| as Windows won't allow editing there.

  2. Open the Desktop copy of poserStartup.py with Notepad, and edit accordingly:

2021-02-15_222242-vert.jpg

Note the required double back-slashes in the paths at the end of the script.

  1. Save poserStartup.py and copy back to the C:|Program Files| location and replace.



Learn the Secrets of Poser 11 and Line-art Filters.


dougj posted Tue, 16 February 2021 at 9:21 AM

Thanks for the reply HartyBart. I will give the script a try when I get a chance. I'm still kind of doubtful since I was already using the avfix script.

Regards, Doug


HartyBart posted Wed, 17 February 2021 at 3:52 PM

It may be to do with the load-order. I had no luck with one config method, re: the poserStartup.py and you'll see that both methods are deployed in this script (top and very bottom).



Learn the Secrets of Poser 11 and Line-art Filters.


adp001 posted Wed, 17 February 2021 at 4:04 PM

Why so complicated? AvFix does only change the version number for the time a Poser session runs.

poser.AppVersion = "WhateverYouWant"

has the same effect (change "WhateverYouWant" to the required version number).




HartyBart posted Thu, 18 February 2021 at 11:47 AM

I don't know why. But all I can say is that AVFix + XZ Toolbar startup worked when one way was tried, but not the other.



Learn the Secrets of Poser 11 and Line-art Filters.


adp001 posted Thu, 18 February 2021 at 12:25 PM

Sorry. I forgot Poser returns a function for anything. So it must be:

poser.AppVersion = lambda: "WhatEverYouWant"



dougj posted Sat, 20 February 2021 at 4:42 PM

Finally working after much grief. I edited my poserpystartup.py according to HartyBarts instructions. I also added the XL library to the ...startup.py. The XL library appeared slightly before the main poser window opened, but I still couldn't see the XA menu. I discovered the problem was that it was opening under my windows start menu bar that I have on the top of the screen. When I dragged my windows start menu bar to the side, it revealed the tiny XA icon on the very top of the screen. Thanks again for the help. Best Regards, Doug


HartyBart posted Mon, 22 February 2021 at 2:56 AM

Ah, yes it's forgotten about that 'tiny' aspect. Yes - now you mention it I seem to recall it starts very small, and then you have to tweak it to get it how you want it. It's a great tool though. You can also pin Python scripts to its icons.



Learn the Secrets of Poser 11 and Line-art Filters.