Fred,
is it possible to add a switche to run PB without opening the last project (when PB has been closed) ?
I tryed different ways without succes.
Thank you.
Command line switches to execute PB without opened project
Re: Command line switches to execute PB without opened proje
Are you asking for a a switch in addition to the IDE preference which already exists?
Re: Command line switches to execute PB without opened proje
Before Fred or anyone else answers.
Have you tried because way over the settings already?
(Disabling "Auto-reload-last open sources")
Or use: (Example)
./purebasic -p start.txt
Then edit "start.txt" and start "Purebasic" with this file.
(AutoReload = 0)
Have you tried because way over the settings already?
(Disabling "Auto-reload-last open sources")
Or use: (Example)
./purebasic -p start.txt
Then edit "start.txt" and start "Purebasic" with this file.
(AutoReload = 0)
Re: Command line switches to execute PB without opened proje
Hi Mistrel,Mistrel wrote:Are you asking for a a switch in addition to the IDE preference which already exists?
yes, but only for project files, not for common files.
What i want it's to avoid changing PB setting.
I don't know if last opened project files will be "lost" at ide opening.
Hi ccode,ccode wrote:Before Fred or anyone else answers.
Have you tried because way over the settings already?
(Disabling "Auto-reload-last open sources")
Or use: (Example)
./purebasic -p start.txt
Then edit "start.txt" and start "Purebasic" with this file.
(AutoReload = 0)
what i mean it's only for project files.
With the start.txt, did it keeps last opened common files ?
I will try that.
But what i want is to have a switch to avoid changing PB setting "Auto-reload-last open sources".
This is to avoid multiplying files.
Tks
A+
Denis
Denis
Re: Command line switches to execute PB without opened proje
you can start purebasic with a different prefs file or with the portabe switch. see https://www.purebasic.com/documentation ... dline.html
I guess you want to start pb with some file but not loading previous files for that session but still load previous files on a later session? Maybe just start pb with that file with the portable option and otherwise normally.
I guess you want to start pb with some file but not loading previous files for that session but still load previous files on a later session? Maybe just start pb with that file with the portable option and otherwise normally.
Re: Command line switches to execute PB without opened proje
Yes #NULL,
i use options /P and /A to load différents projects.
I will try /portable but not sure that is really what i want.
Tks
i use options /P and /A to load différents projects.
I will try /portable but not sure that is really what i want.
Tks
A+
Denis
Denis