Forum: Poser - OFFICIAL


Subject: Poser ScriptsMenu Panel

Netherworks opened this issue on Apr 05, 2010 · 42 posts


Netherworks posted Tue, 06 April 2010 at 7:46 PM

It's cool, thanks for your help so far.

self.root = os.path.join(os.path.dirname(poser.AppLocation()), 'Runtime', 'Python', 'poserScripts', 'ScriptsMenu')  code is identical to Dizzi's script

that "should" be saying find the location of poser.exe or poserpro.exe and build a path adding Runtime:Python:poserScripts:ScriptsMenu

Is the ScriptsMenu folder somewhere different on mac?

From your debug info, I don't know why it's adding scriptsmenu twice..

The changes here (pathPyc, pathPy), were added to detect if that extension exists to the particular file it's trying to run since I reduced the filenames from MyScript.py (for example) to MyScript.  It's kind-of a "kludge" approach, I would have to admit.

.