running script on multiple files
Posted: 14 Jan 2014 20:35
I am having a problem that I wonder if you could help me with.
I have a script:
::$date = regexreplace("<curbase>", ".+_(\d{4})(\d{2})(\d{2})_.+", "$1-$2-$3");
$time = regexreplace("<curbase>", ".+_.+_(\d{2})(\d{2})(\d{2})_.+", "$1:$2:$3");
timestamp cma, $date $time;
I am not sure how to save it, but it is in the script window. When I select one file it works. When I select 5 files it works. When I select all files (~25,000), it does not work.
Ideas? I cannot find anything in documentation on how to save scripts or how to run on selected files.
Thanks
Steve
I have a script:
::$date = regexreplace("<curbase>", ".+_(\d{4})(\d{2})(\d{2})_.+", "$1-$2-$3");
$time = regexreplace("<curbase>", ".+_.+_(\d{2})(\d{2})(\d{2})_.+", "$1:$2:$3");
timestamp cma, $date $time;
I am not sure how to save it, but it is in the script window. When I select one file it works. When I select 5 files it works. When I select all files (~25,000), it does not work.
Ideas? I cannot find anything in documentation on how to save scripts or how to run on selected files.
Thanks
Steve