Terry Mitchell opened this issue on Sep 08, 2002 ยท 5 posts
Terry Mitchell posted Sun, 08 September 2002 at 7:36 AM
What's the best way to add thir-party scripts to Poser Pro Pack so their selection buttons always appear in the Python Scripts drop down menu? (Mine always disappear after each use.)
Intel Core I7 3090K 4.5 GhZ (overclocked) 12-meg cache CPU, 32 Gig DDR3 memory, GeoForce GTX680 2gig 256 Bit PCI Express 3.0 graphic card, 3 Western Difgital 7200 rpm 1 Tb SATA Hard Drives
ockham posted Sun, 08 September 2002 at 8:55 PM
Find the script MainButtons.py which should be in Runtime:Python:PoserScripts, and edit your buttons into it. Note that the script uses Mac-style folder:file notation instead of PC-style folderfile. As long as your scripts are within the Poser directory somewhere, you should be able to follow the example of the bottom line in listing each. Save the original under a name like MainButtonTemplate.py in case you mess up! The script looks like this before adding any entries: import poser poser.DefineScriptButton(1, "", "...") poser.DefineScriptButton(2, "", "...") poser.DefineScriptButton(3, "", "...") poser.DefineScriptButton(4, "", "...") poser.DefineScriptButton(5, "", "...") poser.DefineScriptButton(6, "", "...") poser.DefineScriptButton(7, "", "...") poser.DefineScriptButton(8, "", "...") poser.DefineScriptButton(9, "", "...") poser.DefineScriptButton(10, ":Runtime:Python:PoserScripts:clearButtons.py", "Clear Buttons")
jt1161 posted Sun, 19 February 2006 at 10:56 AM
Is 10 the max number of buttons?
nruddock posted Sun, 19 February 2006 at 11:22 AM
"Is 10 the max number of buttons?"
Yes.
The PoserPython manual does specify that the button index ranges from 1 to 10.
It's probably a combination of coding and GUI layout limitiations.
Naylin posted Mon, 20 February 2006 at 6:36 AM
"Is 10 the max number of buttons?" "Yes." HOWEVER, you can link a button to another file with 10 more buttons and link there to 10 more etc... --Naylin
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
My
Store My
Gallery
____
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
"You have the right to remain silent. Anything you say can and
will be misquoted and then used against you."