• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Long Filenames with Applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Long Filenames with Applescript
      • From: Chris Nebel <email@hidden>
References: 
 >Re: Long Filenames with Applescript (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: Long Filenames with Applescript
  • Next by Date: how to get the zero's out of a list
  • Previous by thread: Re: Long Filenames with Applescript
  • Next by thread: Re: Long Filenames with Applescript
  • Index(es):
    • Date
    • Thread