I want to fill the comments field of image files with a part of the filename
whilst using regex.
All filenames end up with 3 to 4 digits, but because the other part of the filenames
are slightly different, it is impossible to get the files sorted correctly, that is on the
last 4 digits being the seq#.
Question : is this possible??
I might then try and use that field to sorting purposes.
Thanks. Have tried to figure this out, am no expert on this, it is a slippery road for me.
Took the latest .osp file (CustomtextColumn v1.2.osp)
renamed .osp to .zip, extracted the file, edit CustomtextColumn v1.2.js under 'numeric id' as follows
I know you mean well and I appreciate your help, let there be no doubt about it.
However, I am not familiar with script-stuff.
Can open the .osp (.js) file, view the contents, but eh .. it stops there.
Where exactly I need to insert what exactly.
Open: Settings/Preferences - Toolbars - Scripts
Drag'n'drop the RegExColumns.osp File to the Scripts window to install it
Select RegExColumns - Configure
Double Click RegExColumns in Edit Configuration Window
Remove everything there, and just past the line from my last Post.
Tried to do so a few times.
Opus states there is already such file, but regretfully it is not visible, not in Opus.
the osp file is in the scripts addins, but within Opus the script panel remains blanc, except for 1 other script.
C:\Users\MyName\AppData\Roaming\GPSoftware\Directory Opus\Script AddIns
[quote="opw62"]Tried to do so a few times.
Opus states there is already such file, but regretfully it is not visible, not in Opus.
the osp file is in the scripts addins, but within Opus the script panel remains blanc, except for 1 other script.
C:\Users\MyName\AppData\Roaming\GPSoftware\Directory Opus\Script AddIns
[/quote]
hm, ok, seems like a version mismatch.
As I have the latest beta installed and was not sure from which version on the functions I use have been available, the minimum version of the script is set to 11.7.5.
You have now three options:
1. Update your installation to the latest beta
2. update to the latest stable 11.7 and try the attached script version (might work, might not work as I could not test it with 11.7) RegExColumns.osp (11.3 KB) 3. Stick to your exif solution
you should now have a new Custom Column (Columns - Script - RegExColumns - Sequence) called "Sequence" that you could add to your lister, that contains the last 3 or 4 digits of your filenames.