• 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 to DeskTop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Path to DeskTop


  • Subject: Re: Path to DeskTop
  • From: KOENIG Yvan <email@hidden>
  • Date: Thu, 19 Apr 2007 18:46:17 +0200


Le 19 avr. 07 à 18:34:09, Oakley Masten a écrit :

Hi all

I am sure this is easy but just can't find it.

How do I get the path to the desktop?

I want to write a log to the desktop but have only
been able to get it by using a "choose file" command
and copying and pasting the result into my script.
That works fine on my computer but if I move the
script to another computer I am "screwed"


set path2desktop to path to desktop
or
set path2desktop to path to desktop as unicode text
or
set path2desktop to path to desktop  as alias

Yvan KOENIG (from FRANCE jeudi 19 avril 2007 18:45:54) _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Path to DeskTop (From: Oakley Masten <email@hidden>)

  • Prev by Date: Re: Path to DeskTop
  • Next by Date: Re: Path to DeskTop
  • Previous by thread: Re: Path to DeskTop
  • Next by thread: Re: Path to DeskTop
  • Index(es):
    • Date
    • Thread