• 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: can't get the folder of info for x -- solved
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can't get the folder of info for x -- solved


  • Subject: Re: can't get the folder of info for x -- solved
  • From: Brian Gollands <email@hidden>
  • Date: Mon, 17 Sep 2001 15:49:27 -0400

My thanks to all who wrote with suggestions to my problem (Jolly Roger, Cornwall, AppleScripter). The 2 main answers were to test for the last character in the path being a ":" to indicate a folder, or to watch out for having inappropriate code in a Finder tell block. Turns out that the latter is exactly what was happening -- the Finder was using its folder class rather than the one I needed. As an beginning scripter, I've learned a valuable lesson to not go hog wild with tell blocks! Thanks to the above for getting back to me so quickly and breaking the mental logjam.


On 9/17/2001 1:10 PM, "Brian Gollands" <email@hidden> wrote:

> If I test for any other boolean or info (alias, visible, name, etc.),
> the above code works. However, I just get a "Can't get folder of ...
> [the record contents]..." when I test for folders. Is this a known
> bug with "info for" in the Standard Additions or maybe a problem with
> my code? Maybe a conflict from another scripting addition? Just
> wondering if I'm all alone, or if this is something others have seen.


Brian

========================================================================
Try our latest project, The Last Straw:
http://cycas.cornell.edu/laststraw/
========================================================================

Brian Gollands "...In the waning year
Plant Modeling Group Potters a coleopterist, poking
Boyce Thompson Institute through yellow leaves."
Tower Road, Ithaca, NY 14853 -- W.H. Auden
607-254-1381/fax:607-254-1242
email@hidden
http://cycas.cornell.edu/ebp/profiles/BGprof.html
========================================================================


  • Follow-Ups:
    • Re: can't get the folder of info for x -- solved
      • From: JollyRoger <email@hidden>
References: 
 >Re: can't get the folder of info for x (From: Jolly Roger <email@hidden>)

  • Prev by Date: Re: Timeout for display dialog?
  • Next by Date: Image file info?
  • Previous by thread: Re: can't get the folder of info for x
  • Next by thread: Re: can't get the folder of info for x -- solved
  • Index(es):
    • Date
    • Thread