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

Re: Finder producing path error


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

What version of AS are you using? That doesn't compile for me; I get "can't make desktop into an item."
But this works:


tell application "Finder" to get desktop as string

And it returns the full path from the disk:

"Macintosh HD:Users:mreed:Desktop:"

I'm using AS 1.9.3 on Mac OS X 10.3.9


Sorry.  I should have said

tell application "Finder" to get desktop as string

result==>>	"k8:Desktop:"

tell application "Finder" to get folder "k8:Desktop:"

result==>>	"Finder got an error: Can't get folder \"k8:Desktop:\"."

And if I give it the actual location, it produces an error saying "Can't get folder \"Desktop\" of folder \"k8\" of folder \"Users\" of startup disk."

We're all using the same verions of OS X and Applescript.
--

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: Sander Tekelenburg <email@hidden>
    • Re: Finder producing path error
      • From: Dave Balderstone <email@hidden>
References: 
 >Scripting Illustrator CS (From: "Scott Simons" <email@hidden>)
 >Re: Finder producing path error (From: Michelle Steiner <email@hidden>)
 >Re: Finder producing path error (From: "Mark J. Reed" <email@hidden>)

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