Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Dec 02 3:16 pm)
In terms of having something in Poser allow the call of a script by a key-press, so far as I know.... that's not possible.
But one option would be to do it with a general Windows macro recorder/player such as the $40 JitBit. Record the launch of the script to a macro, set a keyboard hotkey for it to playback.
You can also have a script be a persistent one-click icon on a floating panel, which may be sufficient for you. The $10 XA Toolbar + AVFix is what you want there. They can both be configured to launch along with Poser 11. I've no idea if it XA Toolbar works yet on Poser 12, though. You can't assign hotkeys via XA Toolbar, at least so far as I know.
Learn the Secrets of Poser 11 and Line-art Filters.
I'm a bit late with this, but maybe someone wants to play with it:
def my_script():
print("My script started because F1 was pressed.")
def new_handler(event):
keycode = event.GetKeyCode()
if keycode == wx.WXK_F1:
my_script()
event.Skip()
root = poser.WxApp()
root.Bind(wx.EVT_KEY_DOWN, new_handler)
Run the script and press "F1".
Note: You have to unbind the function before you activate it a second time! If you do not, the first installed eventhandler stays active until you close Poser.
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.
Hi folks, is there any way to assign a keyboard shortcut to a specific script? Thanks in advance.