Import Photoshop Custom Shapes
Moderator: Kathy_9
-
sue
- Posts: 3
- Joined: Fri Apr 20, 2018 7:58 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- Corel programs: Jasc psp9 Corel X2 Corel 2018
- Location: England
Re: Import Photoshop Custom Shapes
Thank you very much LeviFiction and JoeB it worked how you said to do it now I can use all the photoshop custom shapes I have saved

-
Jean-Luc
- Advisor
- Posts: 2177
- Joined: Sat Oct 22, 2011 10:50 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: ASUS Computer N751J
- processor: Intel i7_4710 HQ 2_50GHz
- ram: 16GB
- Video Card: NVIDIA GeForce GTX 850M
- sound_card: NVIDIA High Definition Audio
- Hard_Drive_Capacity: 2 Tb
- Monitor/Display Make & Model: NVIDIA GeForce GTX 850M
- Corel programs: PSP X7, X9, 2018 to 2023
- Location: Belgium (French speaking)
- Contact:
Re: Import Photoshop Custom Shapes
Tested the ImportCustomShapes on my system and it doesn't work on my versions of PSP (X7 to 2019).
I have acces to the Browse window and I can select a folder where CSH files are located.
I can select a CSH file but nothing is displayed in the "Import Custom Shape" window.
I am missing something ?
I have acces to the Browse window and I can select a folder where CSH files are located.
I can select a CSH file but nothing is displayed in the "Import Custom Shape" window.
I am missing something ?
THE PAINTSHOP PRO COOKBOOK - GENEALOGY WITH PAINTSHOP PRO
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
-
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: Import Photoshop Custom Shapes
Are any errors presented? And can you post an example of a CSH that fails?
https://levifiction.wordpress.com/
-
Jean-Luc
- Advisor
- Posts: 2177
- Joined: Sat Oct 22, 2011 10:50 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: ASUS Computer N751J
- processor: Intel i7_4710 HQ 2_50GHz
- ram: 16GB
- Video Card: NVIDIA GeForce GTX 850M
- sound_card: NVIDIA High Definition Audio
- Hard_Drive_Capacity: 2 Tb
- Monitor/Display Make & Model: NVIDIA GeForce GTX 850M
- Corel programs: PSP X7, X9, 2018 to 2023
- Location: Belgium (French speaking)
- Contact:
Re: Import Photoshop Custom Shapes
As I don't have a PS installed, I asked a friend to send me some CSH files :
I found other shapes on internet :
I have extracted the CSH files but the script seems not to see them. I have no error message. And no freeze. The shapes simply don't show up.
THE PAINTSHOP PRO COOKBOOK - GENEALOGY WITH PAINTSHOP PRO
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
-
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: Import Photoshop Custom Shapes
Here is a version of the script that prints a lot more information to the script output palette.
Open the Script OUtput Palette, then try opening an image. Copy the results here.
Open the Script OUtput Palette, then try opening an image. Copy the results here.
- Attachments
-
- ImportCustomShapes.zip
- (4.59 KiB) Downloaded 278 times
https://levifiction.wordpress.com/
-
Jean-Luc
- Advisor
- Posts: 2177
- Joined: Sat Oct 22, 2011 10:50 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: ASUS Computer N751J
- processor: Intel i7_4710 HQ 2_50GHz
- ram: 16GB
- Video Card: NVIDIA GeForce GTX 850M
- sound_card: NVIDIA High Definition Audio
- Hard_Drive_Capacity: 2 Tb
- Monitor/Display Make & Model: NVIDIA GeForce GTX 850M
- Corel programs: PSP X7, X9, 2018 to 2023
- Location: Belgium (French speaking)
- Contact:
Re: Import Photoshop Custom Shapes
The CSH files are placed in the Preset Shapes folder.
I run the script.
The Import Custom Shape window opens.
I click on Browse.
The Select File window opens.
I click on a CSH file.
Nothing happens (I'm waiting for 60 seconds and more).
The Script Output window displays the following : If I close the "Select File" and "Import Custom Shape" windows, the output script window says "the script has complete successfully".
I run the script.
The Import Custom Shape window opens.
I click on Browse.
The Select File window opens.
I click on a CSH file.
Nothing happens (I'm waiting for 60 seconds and more).
The Script Output window displays the following : If I close the "Select File" and "Import Custom Shape" windows, the output script window says "the script has complete successfully".
THE PAINTSHOP PRO COOKBOOK - GENEALOGY WITH PAINTSHOP PRO
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
-
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: Import Photoshop Custom Shapes
That image showed me the output window while the browse window was open. Did nothing else get printed to it at all? It's supposed to at least print the filename and path of the file you've chosen.
Try putting the CSH files in your root C:\ drive folder. Does this make any difference?
Try putting the CSH files in your root C:\ drive folder. Does this make any difference?
https://levifiction.wordpress.com/
-
Jean-Luc
- Advisor
- Posts: 2177
- Joined: Sat Oct 22, 2011 10:50 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: ASUS Computer N751J
- processor: Intel i7_4710 HQ 2_50GHz
- ram: 16GB
- Video Card: NVIDIA GeForce GTX 850M
- sound_card: NVIDIA High Definition Audio
- Hard_Drive_Capacity: 2 Tb
- Monitor/Display Make & Model: NVIDIA GeForce GTX 850M
- Corel programs: PSP X7, X9, 2018 to 2023
- Location: Belgium (French speaking)
- Contact:
Re: Import Photoshop Custom Shapes
Nothing is printed nor displayed.
It is the problem...
Here the video :
https://www.cjoint.com/c/ICxkrk6fkpY
It is the problem...
Here the video :
https://www.cjoint.com/c/ICxkrk6fkpY
THE PAINTSHOP PRO COOKBOOK - GENEALOGY WITH PAINTSHOP PRO
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
-
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: Import Photoshop Custom Shapes
In that video you haven't finished hitting the Open button yet. It's one of the big annoyances of using the "StartForeignWindow" command inside PSP.
In PSP, when creating your own custom dialogs like this, it's best practice to call "StartForeignWindow" and tell it to focus on the TKinter dialog you created. If you don't, PSP could accidentally cover up the dialog, and you'll lose access to it. And the script won't end unless you close PSP altogether. However, if you do call "StartForeignWindow" then PSP doesn't like it when you open yet another window. And it tries to force the focus to return to the window you told PSP that you're using.
So, you've got to be fast. Clicking multiple tiimes in succession on the open button until it takes.
In PSP, when creating your own custom dialogs like this, it's best practice to call "StartForeignWindow" and tell it to focus on the TKinter dialog you created. If you don't, PSP could accidentally cover up the dialog, and you'll lose access to it. And the script won't end unless you close PSP altogether. However, if you do call "StartForeignWindow" then PSP doesn't like it when you open yet another window. And it tries to force the focus to return to the window you told PSP that you're using.
So, you've got to be fast. Clicking multiple tiimes in succession on the open button until it takes.
https://levifiction.wordpress.com/
-
Jean-Luc
- Advisor
- Posts: 2177
- Joined: Sat Oct 22, 2011 10:50 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: ASUS Computer N751J
- processor: Intel i7_4710 HQ 2_50GHz
- ram: 16GB
- Video Card: NVIDIA GeForce GTX 850M
- sound_card: NVIDIA High Definition Audio
- Hard_Drive_Capacity: 2 Tb
- Monitor/Display Make & Model: NVIDIA GeForce GTX 850M
- Corel programs: PSP X7, X9, 2018 to 2023
- Location: Belgium (French speaking)
- Contact:
Re: Import Photoshop Custom Shapes
Clicking multiple times does the job !
Thank you !

Thank you !
THE PAINTSHOP PRO COOKBOOK - GENEALOGY WITH PAINTSHOP PRO
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
-
Wykkyd
- Posts: 21
- Joined: Thu Jul 02, 2020 11:26 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- processor: Intel Core i7 9750H 2_6 GHz 6 core
- ram: 16GB
- Video Card: NVIDIA GeForce RTX 2070 Graphics 8 GB GDDR6 ded
- Hard_Drive_Capacity: 1 TB
- Monitor/Display Make & Model: 65" LG TV - HDMI
- Corel programs: PSP19/20/21/22 VideoSuite2020, Aftershot
- Location: North Carolina
Re: Import Photoshop Custom Shapes
Hey Levi! Thanks for your great work! I have just used your script here successfully in PSP 2021. The only recommendation I would have is that after the importation is complete, the script says it's done, complete, finished or whatever. After it completes now, it's just the same window sitting there where you selected the files to import. I just closed the window with the X in the top right corner after it "appeared" that the process was finished and checked and the shapes were all imported.LeviFiction wrote: ↑Sat Mar 23, 2019 2:57 pm
So, you've got to be fast. Clicking multiple tiimes in succession on the open button until it takes.
I did have to do the multi-open button-presses also.
This is an awesome script! It's very useful for me as I rely on shapes for the things I create. Saves so much time having the base shapes already done! Thanks again!!
~Wykkyd
