• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to generate a collection from list of files

Participant ,
Jun 20, 2024 Jun 20, 2024

Copy link to clipboard

Copied

I came across https://www.dropbox.com/scl/fi/lahw2k73ffqf6b283h0x4/file-list-to-collection.lua?e=2&rlkey=zm1xb47or...  which is probably what i need.

I am getting errors when asseccing to command:

catalog:findPhotoByPath (photoPath, false)

When the photoPath has hebrew fonts in it i see this:

danl42831687_1-1718874577563.png

 

How can i fix this?

 

TOPICS
Windows

Views

219

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Participant , Jun 28, 2024 Jun 28, 2024

Thanks...

Actually I managed to get it working.

I renamed the problematic folders.

Fromwhat i've read, LR can't handle non english in scripts.

 

Votes

Translate

Translate
LEGEND ,
Jun 20, 2024 Jun 20, 2024

Copy link to clipboard

Copied

Hmm, I wrote that script five years ago but don't remember it! Toubleshooting steps:

 

1. In LR Library, select that photo, right-click it, and do Show In Explorer.

 

2. In Windows Explorer, that file should be selected. Right-click it and do Copy As Path.

 

3. Paste that path here.

 

4. Attach the "files.txt" file you've been using here (as an attachment -- don't insert it).

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 28, 2024 Jun 28, 2024

Copy link to clipboard

Copied

Thanks...

Actually I managed to get it working.

I renamed the problematic folders.

Fromwhat i've read, LR can't handle non english in scripts.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 28, 2024 Jun 28, 2024

Copy link to clipboard

Copied

"From what i've read, LR can't handle non english in scripts."

 

In general, LR does handle arbitrary Unicode characters correctly in scripts and plugins. I tested that script with a folder containing Cyrillic characters.  There have been a few bugs inside LR proper with non-US-English characters in file paths, but they're usually in very obscure corners of the app.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 28, 2024 Jun 28, 2024

Copy link to clipboard

Copied

LATEST

It didn't in my case and after renaming all is working well.
So thanks for this script!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines