Can I start a script from an icon?

Corel Paint Shop Pro

Moderator: Kathy_9

Post Reply
terrypin
Posts: 492
Joined: Tue Jun 29, 2010 9:51 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Asus Z170 Pro 4
processor: Intel Core i7 6700K 4.0GHz
ram: 32 GB
Video Card: None - uses built-in graphics
sound_card: HD onboard sound card
Hard_Drive_Capacity: 4.256 TB
Monitor/Display Make & Model: iLyama Prolite E2403WS 24" 1920x1200
Corel programs: Paint Shop Pro 8; Paint Shop Pro 2018
Location: East Grinstead UK

Can I start a script from an icon?

Post by terrypin »

I have PSP 8 but I'm guessing the answer might apply across all.

Is it possible to start a specific script by clicking an icon placed on a tool bar or menu please?

For frequently used scripts this would avoid choosing from the lengthy drop-down list and two extra clicks.

--
Terry, East Grinstead, UK
--
Terry, East Grinstead, UK
Using PSP 8 & PSP 2018 under Win 10
Forriner
Posts: 449
Joined: Mon Aug 13, 2012 9:35 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUS Z170M-PLUS
processor: Intel Core i5-6400
ram: 16 GB
Hard_Drive_Capacity: 1250 GB
Monitor/Display Make & Model: Philips Brilliance 272b 2560 × 1440
Corel programs: PSP 2023
Location: The Netherlands

Re: Can I start a script from an icon?

Post by Forriner »

I really can't remember if it's possible in version 8, but if it is:
What you're looking to do is bind a script: make a Bound Script.

Open the customize dialog. There should be a tab "scripts".
Select a script in the drop down box.
Select an icon (a custom icon not possible in X4, I read it was in X6 or coming in X7 maybe).
Click on the Bind button.
The script plus icon appears in the Bound Scripts box below.
Drag the icon to wherever you want it.
Cassel
Posts: 1587
Joined: Fri Oct 29, 2010 6:49 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
ram: 16Gb
Corel programs: PSP 8 (JASC) to PSP 2023
Location: Canada
Contact:

Re: Can I start a script from an icon?

Post by Cassel »

The binding of scripts is not an option in PSP8 as far as i know. It only started with PSP9.
Cassel
https://creationcassel.com/store
Specializing in PSP specific products: scripts and tubes

https://scrapbookcampus.com
for beginner and seasoned scrappers and designers and other PSP users
LindaSue
Posts: 515
Joined: Tue May 24, 2011 1:40 pm
operating_system: Windows XP Pro
System_Drive: C
32bit or 64bit: 32 Bit
motherboard: Gigabyte
processor: 2.71GHz AMD Athlon II X2 215 processor
ram: 3 GB
Video Card: ATI Radeon HD 4350
sound_card: Realtek AC97 Audio [onboard]
Hard_Drive_Capacity: 1320 GB
Monitor/Display Make & Model: Asus MX279 HDMI 27-inch
Corel programs: Paint Shop Pro X2, X4, X6

Re: Can I start a script from an icon?

Post by LindaSue »

It is possible to bind scripts in PSP8. I've done it. There just aren't as many options as in later versions of PSP.
Using Paint Shop Pro versions 5, 6, 7, 8, 9, 12, 14, 16
LindaSue
Posts: 515
Joined: Tue May 24, 2011 1:40 pm
operating_system: Windows XP Pro
System_Drive: C
32bit or 64bit: 32 Bit
motherboard: Gigabyte
processor: 2.71GHz AMD Athlon II X2 215 processor
ram: 3 GB
Video Card: ATI Radeon HD 4350
sound_card: Realtek AC97 Audio [onboard]
Hard_Drive_Capacity: 1320 GB
Monitor/Display Make & Model: Asus MX279 HDMI 27-inch
Corel programs: Paint Shop Pro X2, X4, X6

Re: Can I start a script from an icon?

Post by LindaSue »

From the PSP8 Help file:
About BoundScripts (PSP8)
Paint Shop Pro allows you to create up to nine special scripts called BoundScripts. Because these scripts are essentially commands, you can drag them into a toolbar, a menu, or assign them a keyboard shortcut.

Creating a BoundScript
A BoundScript is created just like any other type of script. However, you must name it “BoundScriptn”, where n is a number ranging from 1 to 9. Before creating a BoundScript, you may want to delete the specific Jasc-supplied sample BoundScript of the same name as this will ensure you’ll be using your new script.

Adding a BoundScript to a Toolbar
Add a BoundScript to a toolbar or menu just like you would any other command button. Refer to Customizing Paint Shop Pro for more information on user interface customization. Shown below is a section of the Customize dialog’s Commands tab. When you select BoundScripts in the Categories list, the buttons for the nine BoundScripts appear in the Commands list. Simply drag the desired button into a toolbar or menu.
Using Paint Shop Pro versions 5, 6, 7, 8, 9, 12, 14, 16
Cassel
Posts: 1587
Joined: Fri Oct 29, 2010 6:49 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
ram: 16Gb
Corel programs: PSP 8 (JASC) to PSP 2023
Location: Canada
Contact:

Re: Can I start a script from an icon?

Post by Cassel »

Oh cool. I didn't know of that method as i was looking for the usual script tab in the Customize window for binding them!
Cassel
https://creationcassel.com/store
Specializing in PSP specific products: scripts and tubes

https://scrapbookcampus.com
for beginner and seasoned scrappers and designers and other PSP users
LindaSue
Posts: 515
Joined: Tue May 24, 2011 1:40 pm
operating_system: Windows XP Pro
System_Drive: C
32bit or 64bit: 32 Bit
motherboard: Gigabyte
processor: 2.71GHz AMD Athlon II X2 215 processor
ram: 3 GB
Video Card: ATI Radeon HD 4350
sound_card: Realtek AC97 Audio [onboard]
Hard_Drive_Capacity: 1320 GB
Monitor/Display Make & Model: Asus MX279 HDMI 27-inch
Corel programs: Paint Shop Pro X2, X4, X6

Re: Can I start a script from an icon?

Post by LindaSue »

They added that option in PSP9, Cassel. Scripts were new with PSP8 so binding them was a rather manual operation. Plus, you have to just remember what they are as you can only see the numbers on them. For example, if I hover my cursor over the bound script on my toolbar, the pop-up box just says "Bound Script 2". The icons all look the same too so you just have to remember what you've placed on your toolbar and which bound scripts apply to which scripts. It's not a problem for me because I only need one in that version of PSP and that's LeviFiction's "Paste as New Layer and select the Move Tool" script. I have other bound scripts in later versions that aren't needed in PSP8. They're workspace type scripts that turn things on and off such as the Organizer.
Using Paint Shop Pro versions 5, 6, 7, 8, 9, 12, 14, 16
terrypin
Posts: 492
Joined: Tue Jun 29, 2010 9:51 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Asus Z170 Pro 4
processor: Intel Core i7 6700K 4.0GHz
ram: 32 GB
Video Card: None - uses built-in graphics
sound_card: HD onboard sound card
Hard_Drive_Capacity: 4.256 TB
Monitor/Display Make & Model: iLyama Prolite E2403WS 24" 1920x1200
Corel programs: Paint Shop Pro 8; Paint Shop Pro 2018
Location: East Grinstead UK

Re: Can I start a script from an icon?

Post by terrypin »

Thanks all, especially LindaSue for that good news about BoundScripts.

I'll have a crack at it asap.

--
Terry, East Grinstead, UK
--
Terry, East Grinstead, UK
Using PSP 8 & PSP 2018 under Win 10
Post Reply