Paint Shop Pro version 8 is out. They have a recorder that records steps and uses Python to record the steps. I'm wondering if there is a way to pause a script and wait for a user to press a key to continue.
From the Python Library reference:
raw_input([prompt])
If the prompt argument is present, it is written to standard output without a trailing newline. The function then reads a line from input, converts it to a string (stripping a trailing newline), and returns that. When EOF is read, EOFError is raised. Example:
>>> s = raw_input('--> ')
--> Monty Python's Flying Circus
>>> s
"Monty Python's Flying Circus"
If the readline module was loaded, then raw_input() will use it to provide elaborate line editing and history features.
Now that Paint Shop Pro has introduced Python scripting to the program I'll be posting in this forum more often. I know perl to some extent, well... I use it every work day, but still have a lot to learn.
Python seems cool. I wrote a script for Paint Shop Pro version 8 now out in Beta, that dynamically creates a vector shape and applies text to the path based on user input. It is so cool.
I write a lot of tutorials and author articles and books on Paint Shop Pro and am looking forward to lots more fun with Python and PSP.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.