• 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
Finder producing path error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Finder producing path error


  • Subject: Finder producing path error
  • From: Hudson Barton <email@hidden>
  • Date: Mon, 25 Apr 2005 15:16:53 -0400

The following results appear to me to indicate something drastically wrong with the Finder. Is there any other explanation?

tell application "Finder" to get folder (path to desktop folder)

result===>>> folder "Desktop" of item "k8"

(that's it... no mention of the Users folder or of the startup disk)

And, so, there is an error when the following script is attempted:

tell application "Finder" to get folder "Desktop" of folder "k8" of folder "Users" of startup disk

result===>>> "Finder got an error: Can't get folder \"Desktop\" of folder \"K8\" of folder \"Users\" of startup disk."

So it seems to me that the full address of the desktop folder is not available, and that any script that wants to make new files on the desktop, for example, won't be able to find it.


Thanks for your help

H.
--

The Garnet Stone Company   Ph:610-348-4371 Fax:206-339-2515
Hudson Barton   email@hidden   http://www.garnetstone.com


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Finder producing path error
      • From: Michelle Steiner <email@hidden>
References: 
 >Scripting Illustrator CS (From: "Scott Simons" <email@hidden>)

  • Prev by Date: Re: Dashboard - Applescripts in web pages?
  • Next by Date: Re: Finder producing path error
  • Previous by thread: Scripting Illustrator CS
  • Next by thread: Re: Finder producing path error
  • Index(es):
    • Date
    • Thread