Remove dead files from Scite4AHK

The popular SciTE-based AutoHotkey Script Editor
tcebob
Posts: 20
Joined: 23 Jan 2017, 21:40

Remove dead files from Scite4AHK

28 May 2018, 21:43

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.
wolf_II
Posts: 2251
Joined: 08 Feb 2015, 20:55

Re: Remove dead files from Scite4AHK

28 May 2018, 22:44

Do you mean the list of most recent files? It's kept in (for me): C:\Users\Wolf\Documents\AutoHotkey\SciTE\SciTE.session
tcebob
Posts: 20
Joined: 23 Jan 2017, 21:40

Re: Remove dead files from Scite4AHK

29 May 2018, 09:45

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.
tcebob
Posts: 20
Joined: 23 Jan 2017, 21:40

Re: Remove dead files from Scite4AHK

29 May 2018, 21:28

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.

Return to “SciTE4AutoHotkey”

Who is online

Users browsing this forum: No registered users and 7 guests