Hallo,
where can I find a manual on the scripting language of PSP?
script-Language - manual
Moderator: Kathy_9
-
LeviFiction
- Advisor
- Posts: 6831
- Joined: Thu Oct 02, 2008 1:07 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: Alienware M17xR4
- processor: Intel Core i7-3630QM CPU - 2_40GH
- ram: 6 GB
- Video Card: NVIDIA GeForce GTX 660M
- sound_card: Sound Blaster Recon3Di
- Hard_Drive_Capacity: 500GB
- Corel programs: PSP: 8-2023
- Location: USA
Re: script-Language - manual
The language PaintShop Pro uses is called Python. It's a very popular language and available for download all on its own.
There are numerous tutorials all over the internet. Including Python.org and you can also get some help understanding Python from sites like CodeAcademy.com
SuzShook has some tutorials on her website on programming, they cost $15 a piece if you're interested. http://scrapbookcampus.com/paintshop-pr ... ng-course/
Once you understand the basics of pythong, calling commands, using Lists, Dictionaries, Tuples, and of course spacing. Then you'll want to download two documents from Corel.
Scripting for Script Authors - This is an introduction to how scripts work inside of PaintShop Pro.
And the PaintShop Pro Scripting API for X. This is a list of all of the available commands, what parameters need to be passed to them, and what information they return.
You can download both of them from ftp://ftp.corel.com/pub/documentation/PSP/
There are numerous tutorials all over the internet. Including Python.org and you can also get some help understanding Python from sites like CodeAcademy.com
SuzShook has some tutorials on her website on programming, they cost $15 a piece if you're interested. http://scrapbookcampus.com/paintshop-pr ... ng-course/
Once you understand the basics of pythong, calling commands, using Lists, Dictionaries, Tuples, and of course spacing. Then you'll want to download two documents from Corel.
Scripting for Script Authors - This is an introduction to how scripts work inside of PaintShop Pro.
And the PaintShop Pro Scripting API for X. This is a list of all of the available commands, what parameters need to be passed to them, and what information they return.
You can download both of them from ftp://ftp.corel.com/pub/documentation/PSP/
https://levifiction.wordpress.com/
Re: script-Language - manual
Hello Levi Fiction
thanks for the addresses.
You've helped me a lot when creating a script for convert of cmx to gif for multiple folders.
Unfortunately, there is still an error that occurs regularly.:
------- Command could not be executed -----------
Command name: File Open
Error Text: Not enough memory to perform this command. Connect one or more documents or applications and try again.
If the problem is not resolved, you may need change the memory settings or work with a smaller document.
My PC:
Windows 8 with 8GB memory, HDD: 362 GB free.
The error is probably due to internal fields of PSP that are not big enough.
Can you help?
thanks for the addresses.
You've helped me a lot when creating a script for convert of cmx to gif for multiple folders.
Unfortunately, there is still an error that occurs regularly.:
------- Command could not be executed -----------
Command name: File Open
Error Text: Not enough memory to perform this command. Connect one or more documents or applications and try again.
If the problem is not resolved, you may need change the memory settings or work with a smaller document.
My PC:
Windows 8 with 8GB memory, HDD: 362 GB free.
The error is probably due to internal fields of PSP that are not big enough.
Can you help?
-
LeviFiction
- Advisor
- Posts: 6831
- Joined: Thu Oct 02, 2008 1:07 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: Alienware M17xR4
- processor: Intel Core i7-3630QM CPU - 2_40GH
- ram: 6 GB
- Video Card: NVIDIA GeForce GTX 660M
- sound_card: Sound Blaster Recon3Di
- Hard_Drive_Capacity: 500GB
- Corel programs: PSP: 8-2023
- Location: USA
Re: script-Language - manual
Keep in mind PSPX is a 32-bit program, and only able to use a maximum of 2GB of RAM. Or somewhere there abouts.
One question, is the script properly closing the other images? Could be an old memory leak, or the program is not releasing the memory fast enough to keep up with the script.
One question, is the script properly closing the other images? Could be an old memory leak, or the program is not releasing the memory fast enough to keep up with the script.
https://levifiction.wordpress.com/
Re: script-Language - manual
'is the script properly closing the other images?' :
# FileClose
App.Do( Environment, 'FileClose', {
'FileList': [file],
'Folder': u'H:\\Temp1\\CmxToGif', # mit \\
})
'the program is not releasing the memory fast enough to keep up with the script' :
can I influence it?
# FileClose
App.Do( Environment, 'FileClose', {
'FileList': [file],
'Folder': u'H:\\Temp1\\CmxToGif', # mit \\
})
'the program is not releasing the memory fast enough to keep up with the script' :
can I influence it?
-
Radim
- Posts: 712
- Joined: Mon Nov 01, 2010 5:54 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- ram: 4GB
- Monitor/Display Make & Model: 27 inch
Re: script-Language - manual
Scripting API - http://product.corel.com/help/PaintShop ... index.html
Book about Python - http://www.packtpub.com/tkinter-gui-app ... tshot/book
Book about Python - http://www.packtpub.com/tkinter-gui-app ... tshot/book
