Re: Long Filenames with Applescript
Re: Long Filenames with Applescript
- Subject: Re: Long Filenames with Applescript
- From: Matthew Van Drie <email@hidden>
- Date: Thu, 8 Mar 2001 10:09:04 -0500 (EST)
- Organization: Kettering University (formerly GMI E&MI) - Flint MI
>
>set name of fooFile to "New File Name"
>
>
>
>Unfortunately, I recieve an error if the new name is longer than 31
>
>characters. Is there anyway to rename a file to a long name with
>
>AppleScript?
>
>
With or without AppleScript, you may not with current systems set a file
>
name to be longer than 31 characters.
On MacOS 9.0 and later (perhaps a couple of releases earlier too?) you CAN
name a file longer than 31 characters -- the Finder just won't display
them as such (for example "This is a very very very long filename" will
become something like "This is a very very very lon#4a2b". Under MacOSX it
will show up properly). Does anyone know if/when this will become
available in AppleScript?
Thanks! Mattfg