bagginsbill opened this issue on Apr 23, 2008 · 2832 posts
bagginsbill posted Tue, 08 July 2008 at 2:21 PM
Quote - A good thought, Spanki, but the os.path.join method would insert a "/" before the script filename, and the resulting output would be:-
:Applications:Poser 7:Runtime:Python:vss/macro1.py
Using the ":".join method together with your replace("/",":") method would give:
:Applications:Poser 7:Runtime:Python:vss:macro1.py
Not sure if that would work..... in any case, I don't think we really need to use the vssFolder variable at all in this line of code, but bb might be able to clarify that when he is back.
Izipizithepythonprentice
I hate snakes
I'm still reading through all this very carefully.
However, we do need to use the vssFolder variable, unless we are willing to give up arbitrary location compatibility. My goal was that I should not care whether the vssFolder is actually in your main runtime, some external runtime, or not a runtime at all. That's the goal, anyway. On PC it works perfectly. On MAC Poser 6 it works perfectly.
It is only Mac Poser 7 that does not. I'm not sure I fully understand why not, but it looks like a Poser bug in my opinion. The documentation does not claim anything that requires we place python scripts in the runtime, right? It doesn't claim that we must NOT use our OS-specific path naming format, does it?
Another thought I have is to give up the Poser Python and Wacro buttons altogether, and use something else. If Poser had a decent GUI API, I'd be there already. I've had a couple conversations with SM:Poser guys about this. I love those guys - very open to my opinions. But they are actually a pretty small group of engineers, and there's soooo much to do. They can't get around to all the stuff I want.
I've made the suggestion several times that I'd be interested in fixing some of these issues FOR FREE, if only they'd give me the source code. They haven't taken me up on it.
Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)