Scripts

Moderator: Kathy_9

Post Reply
daveharney
Posts: 19
Joined: Wed Jan 21, 2015 4:01 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit

Scripts

Post by daveharney »

My sample script folder (scripts-Trusted) is empty. Is there some additional step required to get the sample scripts loaded into X9?
LeviFiction
Advisor
Posts: 6831
Joined: Thu Oct 02, 2008 1:07 pm
operating_system: Windows 10
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: Scripts

Post by LeviFiction »

Any scripts you want PSP to see need to be manually copied either into Scripts-Restricted or Scripts-Trusted. Word of warning, only put actual trusted scripts into Scripts-Trusted as these scripts not only have access to the extra libraries, but also to your harddrive. While scripts-restricted limits how advanced you can make your script, it also makes the scripts a little bit safer to use.
https://levifiction.wordpress.com/
daveharney
Posts: 19
Joined: Wed Jan 21, 2015 4:01 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit

Re: Scripts

Post by daveharney »

Thanks for the reply. Where do I find the scripts to copy into that folder? The X9 tutorial showed several sample scripts, however I can't find them in the original download.
LeviFiction
Advisor
Posts: 6831
Joined: Thu Oct 02, 2008 1:07 pm
operating_system: Windows 10
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: Scripts

Post by LeviFiction »

What tutorial?

PSP comes with its own scripts inside its own program folder. You wouldn't see these in your scripts folders. Those folders are for your own scripts should you make them or download those made by others. The Scripting For Script Authors tutorial on scripting does include example scripts that come with the PDF. Those are located in the same folder as the PDF when you install it.

If you're talking about a general tutorial on using PSP you can see all installed scripts by opening the Script toolbar.

What scripts in particular are you looking to use?
https://levifiction.wordpress.com/
JoeB
Posts: 2778
Joined: Fri Mar 28, 2008 10:04 pm
operating_system: Windows 8.1
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: LENOVO 4524PE4 ThinkCentre M91p
processor: 3.10 gigahertz Intel Quad Core i5-2400
ram: 8 GB
Hard_Drive_Capacity: 4.6 TB
Corel programs: PSP 9, X7 to 2019, 32 & 64-bit
Location: Canada

Re: Scripts

Post by JoeB »

You should be able to find the scripts that come with PSPX9 here:

C:\Program Files (x86)\Corel\Corel PaintShop Pro X9\Languages\EN\Scripts-Trusted

C:\Program Files (x86)\Corel\Corel PaintShop Pro X9\Languages\EN\Scripts-Restricted

Also, those script locations should already be set by default in Preferences>File Locations, so if the script in whatever tutorial you were looking at is one of the pre-installed ones it should show up in the Scripts dropdown.
Regards,

JoeB
Using PSP 2019 64bit
daveharney
Posts: 19
Joined: Wed Jan 21, 2015 4:01 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit

Re: Scripts

Post by daveharney »

Thanks JoeB, you gave me enough info to find the scripts (not x86) and move them to the folder X9 was looking at for scripts. Now I can try them out.
JoeB
Posts: 2778
Joined: Fri Mar 28, 2008 10:04 pm
operating_system: Windows 8.1
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: LENOVO 4524PE4 ThinkCentre M91p
processor: 3.10 gigahertz Intel Quad Core i5-2400
ram: 8 GB
Hard_Drive_Capacity: 4.6 TB
Corel programs: PSP 9, X7 to 2019, 32 & 64-bit
Location: Canada

Re: Scripts

Post by JoeB »

daveharney wrote:Thanks JoeB, you gave me enough info to find the scripts (not x86) and move them to the folder X9 was looking at for scripts. Now I can try them out.
Glad it helped. I only use 32 bit versions of PSP so my stuff is in the x86 file folders, not Program Files. :-)
Regards,

JoeB
Using PSP 2019 64bit
LeviFiction
Advisor
Posts: 6831
Joined: Thu Oct 02, 2008 1:07 pm
operating_system: Windows 10
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: Scripts

Post by LeviFiction »

Still not sure why you're moving scripts. You shouldn't have to. The "Scripts-Trusted" and "Scripts-Restricted" folders located in your Documents are only for your own scripts. THe ones that come with PSP are already fully available. The only reason you would need to do this is if a previous version came with a script that a newer version does not.
https://levifiction.wordpress.com/
Post Reply