Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Sep 18 2:50 am)
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")
My python page
My ShareCG freebies
"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."
This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.
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