Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Dec 02 3:16 pm)
Are you saying that if you run the script:-
################
print "Hello World"
################
that the text output window will open, with the text "Hello World", but you are unable to close the output window by clicking the "X" or equivalent on a Mac?
Because I can on mine.
Can you give an example of your script?
Do you have a loop still in progress?
A "while i < number:" but forgetting to increment i ?
I have tried and tried to find the issue with various scripts (open loop), and it seems to occur if I accidently run a script that needs to be recompiled and it throws up the error message about magic numbers. But the window can be dismissed when the error message shows up. It jumps up and can't be dismissed for the next script run. That is what appears to be happening, but still messing around. But I felt I owed a prgress report to those that chimed in.
Gary
"Those who lose themselves in a passion lose less than those who lose their passion"
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.
I have some scripts I made myself for personal use and or freebee's and or other non compiled scripts that either use a widget and do a print with a status of what it effected in a given scene so I can review it. The python window that I am printing to is staying open and can be dismissed with a mouse. Don't think destroy is what I want to consider. But is this a command or some other such python word that I should go look up? If you know what it is I will do the research. Granted it could be a bug in PP2012 Mac also. You think it would let me close the window like I was able to in P7, P8 or PP2010, but it doesn't
TIA
Gary
Gary
"Those who lose themselves in a passion lose less than those who lose their passion"