Thanks Jim!

Renaming would break links in video editing software to the video files, but I could temporarily rename the files until I am done with them, then rename them back.

The only hassle is that they'll have to quit their editing program.

I am going to try to eliminate the path by changing the defaultFolder next...

On Sep 5, 2007, at 7:52 PM, Jim Ault wrote:

Not too difficult to convert the filename slashes to another char.

--do this for each folder that contains poorly named files
set the defaultFolder to pathToFolder
put the files into fileList
filter fileList with "*/*"
set the itemdel to "/"

repeat for each line LNN in fileList
     put LNN into userFileName
    replace "/" with "|" in userFileName
    rename ( LNN) to (userFileName)
end repeat

Hope this helps

Jim Ault
Las Vegas

On 9/5/07 5:51 PM, "Josh Mellicker" <[EMAIL PROTECTED]> wrote:

Thanks Phil, I figured as much.

These will be already-captured video files, in which some people put
the date... grrrrr!


On Sep 5, 2007, at 5:20 PM, Phil Davis wrote:

Josh Mellicker wrote:
If there is a slash in the file name on OS X, Revolution replaces
it with a colon ":"
Unfortunately, this means the file cannot be found.
Of course, replacing colons with slashes doesn't help, since Rev
interprets this as an extra folder.
Has anyone solved this problem?

Hi Josh,

My solution: disallow slashes in filenames.

Rev lets you detect slashes in filenames (by listing the files in a
folder for example) but doesn't let you [successfully] reference
files whose names contain them.

Slashes aren't allowed in filenames on Windows IIRC, so if you're
making a multi-platform thing you'll need to deal with it there
anyway.

I don't know a workaround.

Phil Davis
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to