Page 1 of 1

Load files at PB Launch

Posted: Sat Aug 16, 2014 10:20 pm
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?

Re: Load files at PB Launch

Posted: Sat Aug 16, 2014 10:26 pm
by ts-soft
Use: purebasic /P <Preferences File>

Re: Load files at PB Launch

Posted: Sat Aug 16, 2014 10:34 pm
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.

Re: Load files at PB Launch

Posted: Sat Aug 16, 2014 10:56 pm
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.

Re: Load files at PB Launch

Posted: Sun Aug 17, 2014 12:02 am
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.