• 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: alias list error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: alias list error


  • Subject: Re: alias list error
  • From: Jim Brandt <email@hidden>
  • Date: Sat, 31 Mar 2007 10:57:34 -0500

Shane, Kai, 

Thanks... I'll do the count check

Michelle,

Others have addressed your problem, but I'm curious as to why you  

didn't do it like this:


set the list to files of folder hold_folder as alias list


Are there any other kinds of items in a folder other than files and  

folders?


Not that I can think of. Isn't everything either a file or a folder?
The reason I did it the way I did is that was how it was done when I wrote
the basics of this script under OS 7, OS 8 and OS 9, and I haven't changed
it much. 

99% of the time, there are at least two files in the folder when I
run the script, so on those few occasions when there is only one file,
I usually handled it manually.  I finally decided I wanted to know how
to fix it.

I don't script very often, so a lot of what I do is from examples I've pulled
from others and from poking around in archives of questions answered
here. 

Thanks all for the help.

Jim
 _______________________________________________
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: Shell grep help - how to get only first occurrence of match?
  • Next by Date: Re: Keystroke in AppleScript
  • Previous by thread: Re: alias list error
  • Next by thread: Keystroke in AppleScript
  • Index(es):
    • Date
    • Thread