Save and restore opened windows in v9.05

marcmark

Member
Hello,

is it possible to save all opened windows with their content when the program is closed?

I tried the option "save window state" under "preferences / window types / program window" but it does not seem to have any effect.

I reallized that if the program is killed forcefully then there will be a crash recovery the next time the program is started. So my current workaround is to kill the program via taskkill if i have to shut it down. The problem is that if i opened multiple instances i can not close individual instances but i have to close all instances because i do not know which process id belongs to which instance.
 
You can use the desktop= command-line parameter for this. For example:

"C:\Program Files\PLSQL Developer\plsqldev.exe" desktop=dev

Now the desktop files and layout is saved in a temporary location under this name and will be restored when you start PL/SQL Developer again with the same desktop=dev command-line parameter.
 
Thank you Marco, this works great!

Could you please also tell me where the information is stored? Then i could use it on my second computer too.
 
For desktop= the files are stored in the following files:

%TEMP%\PLS-Recovery\desktop..*

For example:

C:\Users\Scott\AppData\Local\Temp\PLS-Recovery\desktop.dev.001
C:\Users\Scott\AppData\Local\Temp\PLS-Recovery\desktop.dev.002
C:\Users\Scott\AppData\Local\Temp\PLS-Recovery\desktop.dev.cfg
 
Back
Top