Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Sep 18 2:50 am)
Been testing some more. It will also need a delete script button, otherwise you would have to manually edit to remove a script. Also figured out that if all my scripts have the same length names it looks a lot neater, lol. How does the order in which it adds scripts work? Random? Not alphabetical, so how does it decide which script goes where? Back to testing.
Still working on it. There is a delete action: just right-click. I'm rigging up a way to move buttons into chosen columns, so as to form topic groups. Don't hold your breath for Poser 6. A menu like that would be easy to program in C, but Python is clearly not anywhere near their priority list. Actually, the "make art" button will probably happen before a good Python menu!
My python page
My ShareCG freebies
The "make art" button is easy. Even I can program it. Render a pic of a NVIATWAS, and make a python script that loads that picture as the background image, then all the user has to do is render and they have art, lol. They will all have exactly the same art, but it will solve the hassle of taking all that time to dress and pose the figures to produce identical art.
On the "Make Art" script: Go for it! Naked Vicky in a Temple with a Stapes was an inside joke -- in two ways. I'm glad somebody got it! The main purpose was to motivate myself at a time when I needed to get my ass in gear on the Hearing Anatomy stuff. Luckily it worked.
My python page
My ShareCG freebies
Depending on whether this needs to run on MacOS as well, you could use Windows' SendKeys function and create an external toolbar to send commands to Poser. These commands can fire at the menu itself, almost invisibly calling "file:run python script" and selecting a script with no need for interaction (or it can stop at this point and allow selection of a script manually, but there's no real point in that). This allows for a virtually limitless amount of script buttons visible at any time (imagine just having all of your favorites accessible at once), especially since you can configure the font size to as small as you're comfortable with. I've been using it for a while to run commands that have no hotkey that I want to be able to get at without menu digging. The program I use is here (such a program already exists): http://www.zoology.ubc.ca/~rikblok/software/toolbar/index.html As for MacOS, there is probably a way to do something similar in AppleScript. As an aside, what I would love in a service release is for those horribly oversize room tabs to go away, replaced by entries in the Window menu. I am continuously hitting the hair and cloth tabs when trying to grab the rotate view widget. ARGH!!! ;P
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.