Forum: Poser Python Scripting


Subject: Paying for a Script that Restores X Y of a python add-on hiding somewhere

Threshroge opened this issue on Dec 17, 2022 ยท 6 posts


Threshroge posted Sat, 17 December 2022 at 2:52 PM

Need a poser 12 version that finds Hampelmann (the Poser version of Daz's powerposer) and brings it to front. It always jams and hides somewhere. Currently tearing my hear out


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