lee321987 Posted March 29, 2023 Posted March 29, 2023 save.recent=1 Is supposed to cause the most recently used files list to be saved on exit in the session file and read at start up. But after a restart my recent files list is empty.
ioa747 Posted March 29, 2023 Posted March 29, 2023 ConsoleWrite(EnvGet("SCITE_USERHOME") & @CRLF) gives value ? I know that I know nothing
lee321987 Posted March 29, 2023 Author Posted March 29, 2023 C:\Users\<my_user_name>\AppData\Local\AutoIt v3\SciTE
ioa747 Posted March 29, 2023 Posted March 29, 2023 it works for me with SciTE.exe (4.4.6.0) the setting save.recent=1 is on C:\Program Files (x86)\AutoIt3\SciTE\SciTEGlobal.properties I know that I know nothing
lee321987 Posted March 29, 2023 Author Posted March 29, 2023 Are you using plain SciTE or the special one made for AutoIt?
Developers Jos Posted March 29, 2023 Developers Posted March 29, 2023 (edited) 2 hours ago, lee321987 said: save.recent=1 Is supposed to cause the most recently used files list to be saved on exit in the session file and read at start up. But after a restart my recent files list is empty. On which version are you running? (SciTE Help/About info) Show me the SciTE console output when you run a script for information about your setup. Edited March 29, 2023 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
lee321987 Posted March 29, 2023 Author Posted March 29, 2023 SciTE about: Quote 32-bit Version 4.4.6 Mar 16 2021 13:51:55 by Neil Hodgson. Updated by Jos Check the SciTE4AutoIt3 Homepage for Updates December 1998-December 2020. Run a script output: Quote >"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /run /prod /ErrorStdOut /in "R:\AutoIt\NEW.au3" /UserParams +>02:44:44 Starting AutoIt3Wrapper (21.316.1639.1) from:SciTE.exe (4.4.6.0) Keyboard:00000409 OS:WIN_10/2009 CPU:X64 OS:X64 Environment(Language:0409) CodePage:0 utf8.auto.check:4 +> SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE UserDir => C:\Users\<my-user-name>\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper SCITE_USERHOME => C:\Users\<my-user-name>\AppData\Local\AutoIt v3\SciTE >Running AU3Check (3.3.16.0) from:C:\Program Files (x86)\AutoIt3 input:R:\AutoIt\NEW.au3 +>02:44:44 AU3Check ended.rc:0 >Running:(3.3.16.0):C:\Program Files (x86)\AutoIt3\autoit3.exe "R:\AutoIt\NEW.au3" +>Setting Hotkeys...--> Press Ctrl+Alt+Break to Restart or Ctrl+BREAK to Stop. +>02:44:46 AutoIt3.exe ended.rc:0 +>02:44:46 AutoIt3Wrapper Finished. >Exit code: 0 Time: 2.452
Developers Jos Posted March 29, 2023 Developers Posted March 29, 2023 4 hours ago, lee321987 said: Is supposed to cause the most recently used files list to be saved on exit in the session file and read at start up. The open filelist is save with save.session=1, which will reopen the same files that were open at SciTE close time. The save.recent=1 will keep track of the previously opened files after they were closed and shown in the Menu/File option at the bottom. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
lee321987 Posted March 29, 2023 Author Posted March 29, 2023 5 minutes ago, Jos said: The save.recent=1 will keep track of the previously opened files after they were closed and shown in the Menu/File option at the bottom. Yeah that's what I mean. That list does actually populate while I have SciTE open (a file is added to the list when I close the file), but when I close and re-run SciTE that list is completely gone.
Developers Jos Posted March 29, 2023 Developers Posted March 29, 2023 Do you have save.session=1 to ensure the session is save? You can check file SciTE.session in your SCITE_USERHOME => C:\Users\<my-user-name>\AppData\Local\AutoIt v3\SciTE directory. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
lee321987 Posted March 29, 2023 Author Posted March 29, 2023 (edited) Yes I am using save.session=1. Try opening more tabs than there are mru lines in your SciTE.session file. I just found out that the recent list is cut short by the number of open files in SciTE. I have 10 mru lines. If I have 7 files open then the recent list will have 3 entries And 7 of the paths in mru list (written in the SciTE.session file) are the currently open tabs -- should current tabs be in that list? Edited April 8, 2023 by lee321987
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now