• 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: What does "Finder could not get folder..." mean? (tell block abuse)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What does "Finder could not get folder..." mean? (tell block abuse)


  • Subject: Re: What does "Finder could not get folder..." mean? (tell block abuse)
  • From: JollyRoger <email@hidden>
  • Date: Thu, 02 Aug 2001 08:04:35 -0500

On 8/1/2001 10:59 PM, "Frank Miedreich" <email@hidden> wrote:

> while I agree with the general idea about being careful with the tell
> blocks, IMHO this is not relevant here. A quick look at the
> appleevents protocol will tell you that the tell block will extend
> around the repeat loop in both versions:
>
(snip)

I see it now! My bad. Sorry for jumping the gun Chris!

> This is also true if you make an explicit tell block with an end tell
> in version a.
> I think reason is that the line "set pathList to pathList & ..."
> needs to be executed by the finder as the list items are files. In a
> string context Applescript needs to transform the file objects to
> string representations, the Finder can do that by delivering the path
> to the file. So Applescript will extend the tell block, regardless of
> where you put end tell.
> Note that the script works without any problem for me, on a German OS
> 9.1 with Applescript 1.6.

Works for me too on English OS 9.1, AppleScript 1.6.


  • Follow-Ups:
    • Re: What does "Finder could not get folder..." mean? (tell block abuse)
      • From: Chris Page <email@hidden>
References: 
 >Re: What does "Finder could not get folder..." mean? (tell block abuse) (From: Frank Miedreich <email@hidden>)

  • Prev by Date: How do I remove a resource fork?
  • Next by Date: Re: Quark section starts
  • Previous by thread: Re: What does "Finder could not get folder..." mean? (tell block abuse)
  • Next by thread: Re: What does "Finder could not get folder..." mean? (tell block abuse)
  • Index(es):
    • Date
    • Thread