Noob can't load a script file, pls help

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
amhehatum
Posts: 1
Joined: 01 Jun 2018 01:54

Noob can't load a script file, pls help

Post by amhehatum »

Hi all,

I get a "contains no valid scripts" message when I try to load it. It's probably something simple, but its got me stumped. All of the scripts work fine when I insert them manually with "::"

Code: Select all

// Dalton Photo Renaming Scripts
"Remove Non-Numerals"
 rename k, "0123456789"; 
"Find and replace YYYYMM(day of year) with YYYYMMDD"
 rename s, '20180101|20180102|20180103
 >>20180101|20180102|20180103', 8;
"Append _ to filename" 
 rename b, '*_'; 
"start after position 8 and remove 6 characters"
 rename r, "^(.{8})(.{6})(.*)(\.[^.]+$) > $1$3$4";
Note: I truncated the dates in the find and replace script.

Thanks in advance!

highend
Posts: 15004
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Noob can't load a script file, pls help

Post by highend »

when I try to load it
And you try to load it... How exactly?
One of my scripts helped you out? Please donate via Paypal

Post Reply