The ExtractPreviews script in this help article:
https://helpx.adobe.com/lightroom-classic/kb/extract-previews-for-lost-images-lightroom.html
doesn't work in LR 14.0.1 on Mac OS 14.6.1 or Windows 11. No matter which photos are selected, it always produces this error:
This appears in the console log when you run the script:
2024-11-24 11:54:29.038 Adobe Lightroom Classic[77127:11037041] Could not open file "/Users/john/Lightroom/cats/Test-14/Test-14 Previews.lrdata/0/062F/062F71E0-1BE7-43EA-B951-332C8CF33405-2bbfa387aba361443ffb2e579b214e8c.lrprev"
0: field parseMultiSectionFile - C
1: upvalue ? - 71:134+5
2: [unnamed] - 108:205+4
3: global pcall - C
4: method next - 187:445+27
5: upvalue ? - 1438065897:158+21
6: upvalue ? - 1438065897:489+11
7: upvalue ? - 1478146055:232+7
8: [unnamed] - 1131627717:301+11
9: global pcall - C
10: [unnamed] - 1131627717:313+21
11: method handleResponse - 1131627717:526+84
12: method handleResponse - 435542093:498+14
13: [unnamed] - 435542093:442+45
14: global pcall - C
15: method processPendingResponses - 435542093:549+31
16: [unnamed] - 435542093:331+6
<end>
That error message indicates that the script, though advertised as being for LR 13.3 and later, is still looking for ".lrprev" files in the pre-13.3 preview cache format.