Anyone know the command line switches for PSP?

Corel Paint Shop Pro

Moderator: Kathy_9

Post Reply
Luxi_Turna
Posts: 10
Joined: Sun Mar 26, 2017 2:26 am
operating_system: Windows 7 Professional
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: asus CROSSHAIR V FORMULA-Z
processor: AMD FX-9590 8 core 4.8 GHz
ram: 32G
Video Card: Nvidia Geforce 1080 -- four monitors attached
Hard_Drive_Capacity: 1TB SSD
Monitor/Display Make & Model: Viewsonic Touchscreen
Corel programs: Paintshop Pro 2019

Anyone know the command line switches for PSP?

Post by Luxi_Turna »

I'm sure there are some, and they probably allow cool options. Specifically, I want PSP to start with a particular workspace.
User avatar
hartpaul
Advisor
Posts: 2893
Joined: Tue Mar 20, 2012 3:38 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUSTeK P7P55D STRIX B240F GAMING
processor: IntelCore i7 7700 3.60 Ghz
ram: 8 Gb
Video Card: Nvidia GeForce GTX 1050
sound_card: Nvidia High Definition Audio
Hard_Drive_Capacity: 1000 Gb
Monitor/Display Make & Model: AOC
Corel programs: PSP8,X2 to X9,2018,2019,2020
Location: Australia

Re: Anyone know the command line switches for PSP?

Post by hartpaul »

Which version of paintshop pro are you using (need for future problems) .
PSP has built in switches to allow you to open in Manage or Edit mode.

Right click the empty work space and choose General Program Preferences > Default Work Space and yu can select Manage , Edit, or Keep Last View.
Systems available Win7, Win 8.1,Win 10 Version 1607 Build 14393.2007 & version 20H2 Build 19042.867
cosmicDread
Posts: 42
Joined: Fri Aug 26, 2016 7:10 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: MSI MPG Z390 Gaming PRO
processor: Intel Core i9-9900K
ram: 32 GB
Video Card: GeForce GTX 1080 Ti
Hard_Drive_Capacity: 6 TB
Monitor/Display Make & Model: Acer Predator X34
Corel programs: PaintShop X5, X6, X8, X9, '18, '19, '20
Location: Lake Havasu City, Arizona, USA
Contact:

Re: Anyone know the command line switches for PSP?

Post by cosmicDread »

You can save workspaces as well under the menu 'file / workspace /'. I have several workspaces that I use. Each depends on the work.
When the majority of the people on Earth are wanting the Galactic Federation to show themselves, then they will.
Luxi_Turna
Posts: 10
Joined: Sun Mar 26, 2017 2:26 am
operating_system: Windows 7 Professional
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: asus CROSSHAIR V FORMULA-Z
processor: AMD FX-9590 8 core 4.8 GHz
ram: 32G
Video Card: Nvidia Geforce 1080 -- four monitors attached
Hard_Drive_Capacity: 1TB SSD
Monitor/Display Make & Model: Viewsonic Touchscreen
Corel programs: Paintshop Pro 2019

Re: Anyone know the command line switches for PSP?

Post by Luxi_Turna »

hartpaul wrote:Which version of paintshop pro are you using (need for future problems) .
PSP has built in switches to allow you to open in Manage or Edit mode.
The very latest. I check for updates all the time, too.
hartpaul wrote:Right click the empty work space and choose General Program Preferences > Default Work Space and yu can select Manage , Edit, or Keep Last View.
Umm, I don't mean Manage vs. Edit mode, I mean the layout of tools and options.
Luxi_Turna
Posts: 10
Joined: Sun Mar 26, 2017 2:26 am
operating_system: Windows 7 Professional
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: asus CROSSHAIR V FORMULA-Z
processor: AMD FX-9590 8 core 4.8 GHz
ram: 32G
Video Card: Nvidia Geforce 1080 -- four monitors attached
Hard_Drive_Capacity: 1TB SSD
Monitor/Display Make & Model: Viewsonic Touchscreen
Corel programs: Paintshop Pro 2019

Re: Anyone know the command line switches for PSP?

Post by Luxi_Turna »

cosmicDread wrote:You can save workspaces under the menu 'file / workspace /'. I have several workspaces that I use. Each depends on the work.
Yeah, but you have to go select a workspace every time you start PSP. I want my desktop link to open in a particular workspace. I suppose I can start PSP with a batch file that copies a particular workspace into default.pspworkspace, but I'd like to do it without a kludgy hack.
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: Anyone know the command line switches for PSP?

Post by LeviFiction »

Workspace files are just registry key files. With the first line telling PSP with version of workspace it is. They were very lazy with workspace files. But what I'm getting at is I don't think PSP loads the workspace from the file on startup, I think it just reads it from the registry. Admittedly I could be wrong, but I have no default.pspworkspace file and renaming one of my other workspaces to "default" doesn't make it overwrite the current one. Nor does renaming one of the workspace files to the currently selected workspace.

I think the only ways to do it automatically are kludgy. PSP does have the ability to run a script on startup. It's the only commandline switch that I'm aware of. "/Script"

Creating the script is easy. Hit record on the script toolbar, then load the script you want to be your default workspace, then save the script.

In the shortcut add "/Script <path to script>" in the target box.

Run PSP and see what happens.

In my tests it did not properly load my custom bound script toolbar. But it did load everything else. Also, I had to set Edit as my default mode when starting PSP because I used custom toolbars and the like, it gave weird errors if PSP started in Manage Mode and I tried to load the workspace.
https://levifiction.wordpress.com/
Jean-Luc
Advisor
Posts: 2177
Joined: Sat Oct 22, 2011 10:50 pm
operating_system: Windows 10
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: Anyone know the command line switches for PSP?

Post by Jean-Luc »

If I click on a .PspWorkspace file in the folder where they are stored, it loads X9 with this workspace active.
THE PAINTSHOP PRO COOKBOOK - GENEALOGY WITH PAINTSHOP PRO
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
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: Anyone know the command line switches for PSP?

Post by LeviFiction »

Awesome. :D I hadn't tried double=clicking on the file. xD I had only tried dropping the workspace onto icon and that came up with an "invalid file" error. That's a lot easier. :D

Still messes up my custom toolbar though. I have to restart PSP to get the toolbar to behave itself.

Personally I've just assigned my workspaces to certain shortcut key combos using scripts. But no one ever accused me of being practical. xD
https://levifiction.wordpress.com/
Post Reply