This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > PainShop Pro Scripting > June 2006 > PSP X scripting support and execution from commandline...
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
PSP X scripting support and execution from commandline...
|
|
| Raist3d 2006-06-27, 9:09 pm |
| Hi there. I posted this in the wrong forum first so hopefully this is the
appropriate forum :-)
So, first, I want to know if PSP X scripting support is strong or new or
what. I could not find scripting support for PSP X and the api references
only 9. Is Corel going to support scripting more in the future?
2nd question- how do you execute from the dos command line a script with PSP
9 or X. What I want is to be able to say "here's this image, run this script
on it, then close." The close part I get from the Python programming api
guide. I don't know what the comand line parameters for PSP are and that's
what I am wondering about... thanks!
- Raist3d.
| |
| Fred Hiltz 2006-06-27, 9:09 pm |
| Raist3d wrote:
> So, first, I want to know if PSP X scripting support is
> strong or new or what. I could not find scripting support
> for PSP X and the api references only 9. Is Corel going to
> support scripting more in the future?
>
> 2nd question- how do you execute from the dos command line
> a script with PSP 9 or X. What I want is to be able to say
> "here's this image, run this script on it, then close."
> The close part I get from the Python programming api guide.
> I don't know what the comand line parameters for PSP are
> and that's what I am wondering about... thanks!
1) PSP scripting, introduced with PSP 8 in the summer of 2003, is
strong enough for me. It has bugs, of course, for consistency's
sake. [end smart-*ss comment] Find Scripting For Script Authors and
the Command API at ftp://ftp.corel.com/pub/documentation/PSP/. None
of us knows what plans Corel has for scripting.
2) Explore this syntax:
paint shop pro X.exe /script myfile.pspscript
with an image file named before or after the script file. This is
undocumented and not supported, but used to work. I do not think it
ever managed auto-closing though.
--
Fred Hiltz, fhiltz at yahoo dot com
| |
| Spandex Rutabaga 2006-06-27, 9:09 pm |
| Fred Hiltz wrote:
> 2) Explore this syntax:
>
> paint shop pro X.exe /script myfile.pspscript
>
> with an image file named before or after the script file. This is
> undocumented and not supported, but used to work. I do not think it
> ever managed auto-closing though.
Typing the following (all on one line) at a DOS prompt or in the
Start > Run location:
"Path to PSP\Paint Shop Pro 9.exe" "Path to Image\SomeImage.jpg"
/script "Path to script\SomeScript.PspScript"
will cause script SomeScript to execute on SomeImage, at least in
PSP 9. There is no a priori reason to believe this got broken in
PSP X (though that doesn't mean it isn't broken :)
Another command line flag one can use just like /script is:
/browse "Path to folder to browse"
|
|
|
| | Copyright 2003 - 2009 forum4designers.com Software forum Computer Hardware reviews |
|