Forum: Poser Python Scripting


Subject: running hourglass type dialog

FVerbaas opened this issue on Aug 24, 2021 ยท 7 posts


FVerbaas posted Tue, 24 August 2021 at 11:42 AM Forum Coordinator

Scripting is notorious for being slow to process, Python is relatively good but still a scripted system, so users waiting completion of a task is nothing new. So this makes me wonder:

Is there a standard easy way to make a sort of dialog or alert with animated hourglass show up while my process is running? Some methods I can call to set or drop the message and the message dropping automatically when my script dies?

I guess it does require spawing threads and watches. I'd rather go by a proven solution than invent something bad myself.


adp001 posted Tue, 24 August 2021 at 2:40 PM

Check out wxPython's dialogs in the online documentation. Starting with "BusyInfo".




FVerbaas posted Tue, 24 August 2021 at 3:09 PM Forum Coordinator

Great. Thanks!

Images are not supported, alas, let alone images that are animated.


adp001 posted Tue, 24 August 2021 at 3:23 PM

FVerbaas posted at 3:19PM Tue, 24 August 2021 - #4425984

Great. Thanks!

Images are not supported, alas, let alone images that are animated.

Make a standard dialog with all features you need. Wrap the Dialog with a similar class as BusyInfo does with it's simple dialog.




FVerbaas posted Wed, 25 August 2021 at 9:01 AM Forum Coordinator

Thanks. Was already afraid so. Other priorities prevail for now so the hourglass goes on the wish list.


adp001 posted Wed, 25 August 2021 at 9:21 AM

I bet someone has done this allready. wxPython is a framework not only used with Poser and has thousends of users and contributors. A Poser forum may simple be the wrong place to ask.




FVerbaas posted Wed, 25 August 2021 at 9:28 AM Forum Coordinator

Yes, definitely it will be there somewhere. Will be looking further before I sit down to write and report when I found something.