Page 1 of 1

Remove dead files from Scite4AHK

Posted: 28 May 2018, 21:43
by tcebob
I deleted a few .ahk files from my working directory, but they remain on the list in Scite4AHK. There doesn't seem to be a way to delete them. Will they just stay there until they fall off the end? Even if they still existed there is no option to remove them in the Files menu.

Re: Remove dead files from Scite4AHK

Posted: 28 May 2018, 22:44
by wolf_II
Do you mean the list of most recent files? It's kept in (for me): C:\Users\Wolf\Documents\AutoHotkey\SciTE\SciTE.session

Re: Remove dead files from Scite4AHK

Posted: 29 May 2018, 09:45
by tcebob
Actually, I found three \Scite.session files in different places. But none of them contained any reference to the lingering files. Guess I'll wait 'til they dry up and fall off.

Thanks for the suggestion.

Re: Remove dead files from Scite4AHK

Posted: 29 May 2018, 21:28
by tcebob
Ha! Found a workaround:
One at a time:
1. Open the nonexistent script. It will not be found but a tab will appear.
2. Save it to X.ahk
3. Close it
After the first save an explorer popup will ask if you want to overwrite. Say "Yes."
Result: one (empty) script called "X.ahk. Alas, this will live forever in the file list. Leave it as a receptacle for future dead scripts.