• 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: error number -37 from list folder command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error number -37 from list folder command


  • Subject: Re: error number -37 from list folder command
  • From: "Nigel Garvey" <email@hidden>
  • Date: Mon, 7 Feb 2011 20:22:56 +0000

Jim Brandt wrote on Mon, 7 Feb 2011 08:14:58 -0600:

>I have a script that uses the "list folder" scripting addition.
>
>		set item_list to list folder source_folder without invisibles
>
>Yesterday, this script aborted with the error number -37 - "Bad name
>for file." It shows the folder name for the folder I'm trying to get
>a list of names for, but doesn't tell me the name of the offending file.

'list folder' error messages use the word "file" when there's a problem
getting the folder itself. Without knowing what sort of item
'source_folder' is or the context of the command, I haven't been able to
reproduce the error, but my guess would be it's something to do with one
or both of these.

NG

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: SpamCop script which worked in Tiger suddenly dropping some attachments in Leopard
  • Next by Date: Suddenly Seeking a BBEdit AppleScript Developer
  • Previous by thread: Re: error number -37 from list folder command
  • Next by thread: Suddenly Seeking a BBEdit AppleScript Developer
  • Index(es):
    • Date
    • Thread