Page 1 of 2

Painter Essentials 6 - as a plugin to PSP2019U?

PostPosted: Sun Dec 09, 2018 9:06 pm
by iraisok
Is there a plugin for Painter Essentials 6 to point to in PSP2019U?

A simple Google search got the answer - NO! PE6 does not plugin to PSP. However, you can open files saved in PE6 in PSP, even the .rif file type.

Re: Painter Essentials 6 - as a plugin to PSP2019U?

PostPosted: Sun Dec 09, 2018 11:56 pm
by Kathy_9
Correct. Painter Essentials 6 is a standalone product.

Re: Painter Essentials 6 - as a plugin to PSP2019U?

PostPosted: Wed Dec 12, 2018 3:02 am
by patara
Painter Essentials 6 can be opened from within PSP by using an edited Nik Script. There are versions of the Nik script in the PSP Scripting section in this forum.
This method works for me for most stand alone graphic apps and they then work much like a Plugin in both 64 bit and 32 bit versions of PSP.
I use it for On1 and apps from Jixipix, DxO, Franzis, Escapemotions etc..
The script opens the app, applies the effect to the open image, and then when saved back over the original temporary file [usually found in AppData/Temp folder], a new layer is made in PSP with the effects applied.
This method comes in handy if I know I won't want to keep layers saved or a file saved in the app's file type.

As I had never used the method with Painter Essentials before, I just tested.
I edited the Nik script to add Painter Essentails 6 exe file address, made other changes and Saved to Trusted Scripts.
Opened an image in PSP 2019 and then Ran the script.
It opened PE6, my open image was there. I chose my effect and applied it. I then chose SaveAs, looked for the file in AppaData/Temp, and saved over using the same name. It saved, and I then closed via the X.
I was back to PSP 2019, a new layer was made, named Painter Essentials, and the paint effects showed on that new layer.
I had no errors.

Re: Painter Essentials 6 - as a plugin to PSP2019U?

PostPosted: Wed Dec 12, 2018 4:14 am
by iraisok
Patara - I so appreciate you sharing the method and details. I will set it up and possibly do same for BenVista PhotoArtist

Re: Painter Essentials 6 - as a plugin to PSP2019U?

PostPosted: Mon Dec 24, 2018 12:52 am
by iraisok
patara wrote:Painter Essentials 6 can be opened from within PSP by using an edited Nik Script. There are versions of the Nik script in the PSP Scripting section in this forum.
This method works for me for most stand alone graphic apps and they then work much like a Plugin in both 64 bit and 32 bit versions of PSP.
I use it for On1 and apps from Jixipix, DxO, Franzis, Escapemotions etc..
The script opens the app, applies the effect to the open image, and then when saved back over the original temporary file [usually found in AppData/Temp folder], a new layer is made in PSP with the effects applied.
This method comes in handy if I know I won't want to keep layers saved or a file saved in the app's file type.

As I had never used the method with Painter Essentials before, I just tested.
I edited the Nik script to add Painter Essentails 6 exe file address, made other changes and Saved to Trusted Scripts.
Opened an image in PSP 2019 and then Ran the script.
It opened PE6, my open image was there. I chose my effect and applied it. I then chose SaveAs, looked for the file in AppaData/Temp, and saved over using the same name. It saved, and I then closed via the X.
I was back to PSP 2019, a new layer was made, named Painter Essentials, and the paint effects showed on that new layer.
I had no errors.


Patara - Please link me to the Nik script you mentioned. Or share the code that you created that I could adapt using my paths.

Thanks,

Re: Painter Essentials 6 - as a plugin to PSP2019U?

PostPosted: Sun Jan 13, 2019 3:20 pm
by sheng-si
Are these the scripts you mentioned Patara ?
viewtopic.php?f=56&t=51492

Re: Painter Essentials 6 - as a plugin to PSP2019U?

PostPosted: Sun Jan 13, 2019 9:50 pm
by JoeB
sheng-si wrote:Are these the scripts you mentioned Patara ?
viewtopic.php?f=56&t=51492


While those are the scripts, you'll find that (a) they are not written in English, and (b) they are difficult to locate in the Scripting sub-forum because they are deep within the thread's conversation. To make it easier for people, I have now posted these scripts, as translated into English by Alex Kang, in a new thread in the Scripting sub-forum. And while instructions for the few modifications necessary to make the scripts work with any standalone filter or graphic program are commented throughout the script, I have also provided those instructions in the post, as well as illustrating several different reasons that the script might be useful for some PSP users. I personally have these scripts used for opening a variety of programs as plugins in PSP and find them very useful. The new post is here:

viewtopic.php?f=104&t=64877

Re: Painter Essentials 6 - as a plugin to PSP2019U?

PostPosted: Tue Jan 15, 2019 11:40 am
by patara
Thanks for replying for me Joe and sorting it.
Like you, I use the edited script for many graphic apps with success.

Re: Painter Essentials 6 - as a plugin to PSP2019U?

PostPosted: Tue Jan 15, 2019 4:22 pm
by iraisok
JoeB - I too very much appreciate all the info you provided. I have since created four scripts to run programs from PSP as if they are plugins to PSP.

TNX MUCH!

Re: Painter Essentials 6 - as a plugin to PSP2019U?

PostPosted: Thu Jan 17, 2019 5:24 am
by JoeB
patara wrote:Thanks for replying for me Joe and sorting it.
Like you, I use the edited script for many graphic apps with success.


iraisok wrote:JoeB - I too very much appreciate all the info you provided. I have since created four scripts to run programs from PSP as if they are plugins to PSP.

TNX MUCH!


You're both very welcome. Just figured I'd try to make those scripts easier for people to find in the Scripting sub-forum, because I had to hunt for quite awhile to find where they were buried! I like to use anything that makes PSP more efficient, and scripts that are easy to edit and can open all sorts of 32bit programs and standalone filters in 64bit PSP and 64bit stuff in 32bit PSP to use them as plugins in PSP definitely fit the bill for me! Glad to see that some people find them useful, as I'm sure that the original creator of the scripts (@JSJ) and the translator (@Alex Kang) are happy with this also.

Re: Painter Essentials 6 - as a plugin to PSP2019U?

PostPosted: Tue Jan 29, 2019 8:41 pm
by iraisok
JoeB wrote:
patara wrote:Thanks for replying for me Joe and sorting it.
Like you, I use the edited script for many graphic apps with success.


iraisok wrote:JoeB - I too very much appreciate all the info you provided. I have since created four scripts to run programs from PSP as if they are plugins to PSP.

TNX MUCH!


You're both very welcome. Just figured I'd try to make those scripts easier for people to find in the Scripting sub-forum, because I had to hunt for quite awhile to find where they were buried! I like to use anything that makes PSP more efficient, and scripts that are easy to edit and can open all sorts of 32bit programs and standalone filters in 64bit PSP and 64bit stuff in 32bit PSP to use them as plugins in PSP definitely fit the bill for me! Glad to see that some people find them useful, as I'm sure that the original creator of the scripts (@JSJ) and the translator (@Alex Kang) are happy with this also.


Joe,

Is it possible to download AND install "KPT Collection" (a plugin only for 32BIT PSP installation) where only PSP 64BIT was installed and be accessed using the technique you describe above? If so, are the steps different?

Tnx,

Re: Painter Essentials 6 - as a plugin to PSP2019U?

PostPosted: Wed Jan 30, 2019 12:09 am
by JoeB
iraisok wrote:Is it possible to download AND install "KPT Collection" (a plugin only for 32BIT PSP installation) where only PSP 64BIT was installed and be accessed using the technique you describe above? If so, are the steps different?
Tnx,


The KPT collection consists of 8bf plugins and there is no standalone version, so the script can't be used to open those plugins. It is only used for opening standalone versions of plugins or to open other standalone graphic programs that you want to open and use as plugins in PSP.

Re: Painter Essentials 6 - as a plugin to PSP2019U?

PostPosted: Wed Jan 30, 2019 12:26 am
by iraisok
Joe,

I should have realized that it won't work like that, requiring the program to be standalone. Again, thank you for all you have shared. As mentioned in a prior post I've since created PSP scripts to run a few stand alone programs with changed files return as new layers.

Tnx,

Re: Painter Essentials 6 - as a plugin to PSP2019U?

PostPosted: Wed Jan 30, 2019 1:55 am
by LeviFiction
Well....there is a way. It's a bit convoluted though.

PSP has a "/Script" commandline flag. PSP intended this to be used as a shortcut for quickly performing a script on any images dropped on the shortcut. Because plugins can be run from scripts it would be possible to call PSP. Have it execute a script that runs the plugin, and then close on exit. I have tested this. It does work. And the tweaks are minimal. But you must have two different versions of PSP installed in order to do this.

Video demo: https://drive.google.com/file/d/1Uyikt_ ... SeVbq/view

1) Open the version of PSP you will be using to run the KPT plugin.
2) Open a file (you will be saving your changes so make it a file you don't mind editing, we want it to be a saved file so that the script runs FileSave and not FileSaveAs)
3) Hit record on the script toolbar
4) Run the plugin
5) Close the image (hitting Yes when asked to save changes)
6) Save script to Scripts-Trusted folder.
7) Open Script in an editor.
8 ) Add this to the bottom of the script
Code: Select all
    App.Do( Environment, 'ExitApp',{           
                'GeneralSettings': {
                    'ExecutionMode': App.Constants.ExecutionMode.Silent,
                    'AutoActionMode': App.Constants.AutoActionMode.AllAlways,
                    'Version': ((8,0,0),1)
                    },
                })

9) Save Changes
10) Edit the external app script we'll edit it to run PSP with a script
11) Change the filterExe variable to match your 32-bit copy of PSP. (e.g. filterExe = 'C:\\Program Files (x86)\\Corel\\Corel PaintShop Pro 2018\\Corel PaintShop Pro.exe') I used PSP 2018
12) Add a scriptLoc variable and set it to the script you just created (e.g. scriptLoc = 'C:\\Users\\Jack\\Documents\\Corel PaintShop Pro\\2018\\Scripts-Trusted\\kptlightning.PspScript')
13) Find this line
Code: Select all
args = [filterExe, tmpFilename]

14) Add these two parameters '/Script', and scriptLoc
Code: Select all
args = [filterExe, tmpFilename, '/Script', scriptLoc]


And that's all there is. It should now open PSP 32-bit, run the plugin. Then when the plugin closes, it'll save the changes and close PSP.

OR buy this plugin that lets you use 32-bit plugins from inside PSP 64-bit. it has a section specifically mentioning the KPT plugins.

https://www.mediachance.com/pluginbridge/

Re: Painter Essentials 6 - as a plugin to PSP2019U?

PostPosted: Wed Jan 30, 2019 4:40 am
by ehume
All well and good, LF, but it is easier to install both the 32-bit and 64-bit versions of PSP together. Then you can use the 32-bit version to access the KPT collection. This method works for PSPx6 and up. Further, you only need one year of PSP.