Forum: Poser 12


Subject: Help! My Python script Hampelmann disappears at startup

Threshroge opened this issue on Dec 16, 2022 ยท 2 posts


Threshroge posted Fri, 16 December 2022 at 11:13 AM

The script always has a problem with hiding somewhere. A poser 11 creation "show hampelmann.pyc" was made for me by a friend, it always restores hampelmann to the  top left side of the screen.


when i open it in main pane, it just goes straight to disappearing. When i oepn it in matierials pane, it shows and i can use it, but upon restarting poser, i cant view it anymore in materials pane. I can still view it in hair pane. So ican load it in hair pane and use it for that start up of Poser, but if i close it out, then i cant use it from the hair pane either. What is going on? Can anyone make me a script please to restore a python script to the top left side of the screen, for poser 12? I have the old version


import poser

APPNAME =  'Hampelmann'

DEBUG = True

manager = poser.WxAuiManager()

def FindMe(name, debug=False):

for pane in manager.GetAllPanes():

if debug and pane.caption != '': print '\t%s' % pane.caption

if pane.caption == name:

return pane

return None

if DEBUG: print 'Searching for running scripts...'

me = FindMe(APPNAME, DEBUG)

if me:

print '\nScript %s found' % APPNAME

me.FloatingPosition((0,0))

me.Float()

me.Show()

manager.Update()

else:

print '\nScript %s is not running' % APPNAME


Threshroge posted Tue, 20 December 2022 at 3:07 PM

I need to delete this, the person who created the script provided me with a script