• 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 >31 error -37
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Long Filenames >31 error -37


  • Subject: Re: Long Filenames >31 error -37
  • From: Emmanuel <email@hidden>
  • Date: Sun, 18 Jul 2004 10:13:21 +0200

At 7:06 AM +0200 18/07/04, Ronald Hofmann wrote:
>Hi everybody,
>in one of my methods Im dealing with filenames. As soon as I come across a long filename (>31) like:
>"MacOSX:Users:ronny:Desktop:Doks:Dido - Thank You (Thunders3233.mp3"
>
>I get an error:
>Bad name for file. MacOSX:Users:ronny:Desktop:Doks:Dido - Thank You (Thunders3233.mp3 (-37)
>
>As far as I know the Finder can handle filenames longer than 31. What can I do? Any ideas?
>
>Is there a error code table somewhere to look up error codes?

If you use Smile, pull down User scripts > More menu bar > Scripting > Error information.

-37 is bad name for a file and nothing else (documented with the additional optimistic comment "/*there may be no bad names in the final system!*/").

Isn't your instruction inside some "tell app" wrapper?

Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


References: 
 >Long Filenames >31 error -37 (From: Ronald Hofmann <email@hidden>)

  • Prev by Date: Re: Photostitch Dictionary
  • Next by Date: Re: Avoiding repetition
  • Previous by thread: Long Filenames >31 error -37
  • Next by thread: Re: Long Filenames >31 error -37
  • Index(es):
    • Date
    • Thread