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

Re: memory lapse


  • Subject: Re: memory lapse
  • From: Christopher Stone <email@hidden>
  • Date: Thu, 13 Apr 2017 14:26:14 -0500

On 04/13/2017, at 14:15, Steve Mills <email@hidden> wrote:
You need to keep trying stuff, which is what I always do and what I just did to come up with:
set x to POSIX file ((POSIX path of (path to home folder)) & "Dropbox") as alias


Hey Steve,

Here's yours:

set dropBoxAlias01 to POSIX file ((POSIX path of (path to home folder)) & "Dropbox") as alias

It shortens to this:

set dropBoxAlias02 to ((path to home folder as text) & "Dropbox") as alias

Rule-of-the-thumb – never mix and match HFS Paths and POSIX Paths unless there's a distinct need.

--
Take Care,
Chris

 _______________________________________________
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

  • Follow-Ups:
    • Re: memory lapse
      • From: Steve Mills <email@hidden>
References: 
 >Re: memory lapse (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: memory lapse
  • Next by Date: Relative-Alias Constructor Script – was memory lapse
  • Previous by thread: Re: memory lapse
  • Next by thread: Re: memory lapse
  • Index(es):
    • Date
    • Thread