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

Re: path name


  • Subject: Re: path name
  • From: David LeBer <email@hidden>
  • Date: Mon, 10 Oct 2005 14:18:18 -0400

On 10-Oct-05, at 2:10 PM, Bob Cuilla wrote:

Is here anyway to gey the current path name to the desktop in an Apple Script?

Something like this?

set thePath to path to desktop
set thePath to POSIX path of thePath

The first line will give you:
alias "Macinosh HD:Users:david:Desktop:"

coerce it to a string if you want.

After the second line you'll have:
"/Users/david/Desktop/"

--
;david

--
David LeBer
"I am codeferous!"
Codeferous Software
site:   http://www.codeferous.com
blog: http://david.codeferous.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
References: 
 >path name (From: Bob Cuilla <email@hidden>)

  • Prev by Date: Smile wait for log
  • Next by Date: Re: Smile wait for log
  • Previous by thread: Re: path name
  • Next by thread: Help on Quark ligatures and oldstyle numbers
  • Index(es):
    • Date
    • Thread