• 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: Safari Download Folder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Safari Download Folder?


  • Subject: Re: Safari Download Folder?
  • From: "Mark J. Reed" <email@hidden>
  • Date: Wed, 4 Mar 2009 18:53:40 -0500

On Wed, Mar 4, 2009 at 6:37 PM, John Baltutis <email@hidden> wrote:
> This is simpler:
>
> do shell script "defaults read com.apple.safari DownloadsPath"
> result

Well, if you're going to do that, might as well expand it at the same time:

set safariDownloadFolder to POSIX file (do shell script "eval echo
$(defaults read com.apple.safari DownloadsPath)") as alias

--
Mark J. Reed <email@hidden>
 _______________________________________________
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

  • Prev by Date: Re: Saving Microsoft Word as PDF
  • Next by Date: Setting up Mail Accounts with Applescript
  • Previous by thread: Re: Safari Download Folder?
  • Next by thread: Saving Microsoft Word as PDF
  • Index(es):
    • Date
    • Thread