Load files at PB Launch

Working on new editor enhancements?
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Load files at PB Launch

Post by IdeasVacuum »

When PB is launched, it loads the files you were working on 'last time', which is great.

If I'm using more than one version of PB though, I'd like each to load it's own file list - is this possible?
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: Load files at PB Launch

Post by ts-soft »

Use: purebasic /P <Preferences File>
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Load files at PB Launch

Post by IdeasVacuum »

How does that work ts-soft? In file preferences, there is the option: 'Auto-Reload last open sources'. If I previously opened files A,B and C with PB5.30, when I launch PB5.22, it too loads files A,B and C, yet it was last used to edit Files X,Y and Z.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: Load files at PB Launch

Post by ts-soft »

Make a shortcut to different pb versionen with the flag to different "PureBasic.prefs".
This different "PureBasic.prefs" have different [OpenedFiles] in it.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Load files at PB Launch

Post by IdeasVacuum »

....ah yes I see. I can do that of course and I will - but to me, it's a work-around. I think it should be possible to set this in PB. In fact, I think it should be the default behaviour.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Post Reply