• 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
Coercing from alias to original
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Coercing from alias to original


  • Subject: Coercing from alias to original
  • From: Michael Vogt <email@hidden>
  • Date: Sun, 25 Apr 2004 15:19:43 -0500

I'm using Script Editor 2.0 (v43) and I'm writing a FolderAction.
The action:
on adding folder items to f
creates an alias of folder f.

I'm wanting to count the number of items within folder f, but count just sees the alias, and returns a value of 1.
How do I coerce the alias so that count can look at the actual folder and figure out how much is inside?

There are only 10 type of people in the world, those that understand binary, and those that don't.
_______________________________________________
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.


  • Follow-Ups:
    • Re: Coercing from alias to original
      • From: "Adam K. Wuellner" <email@hidden>
    • Re: Coercing from alias to original
      • From: "Adam K. Wuellner" <email@hidden>
    • Re: Coercing from alias to original
      • From: Emmanuel <email@hidden>
  • Prev by Date: Re: FolderActions bug?
  • Next by Date: Re: Coercing from alias to original
  • Previous by thread: Re: UNIX DATE
  • Next by thread: Re: Coercing from alias to original
  • Index(es):
    • Date
    • Thread