• 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: File reference problems in Snow Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File reference problems in Snow Leopard


  • Subject: Re: File reference problems in Snow Leopard
  • From: Elliotte Rusty Harold <email@hidden>
  • Date: Tue, 15 Sep 2009 07:46:59 -0400

After further investigation down paths suggested by folks here, I
think the problem has something to do with absolute paths.

set libraryFile to alias "Macintosh HD:Users:elharo:Cafe Au
Lait:support:CafeLib.scpt"

fails but

set libraryFile to alias "elharo:Cafe Au Lait:support:CafeLib.scpt"

succeeds. Furthermore, I can actually open and do things with the
relative alias. Somehow AppleScript is smart enough to figure out
where these relative paths are. I wouldn't be too surprised if the
path were relative to my home directory, but instead it seems to be
relative to the /Users directory. Weird.

I still can't explain what's going on here though. The two things that
changed recently that may have caused this are:

1. Upgrading to 10.6.1 from 10.5.whatever
2. Encrypting my home directory with FileVault.

Not sure how much time I have to really track down the details, but I
would be curious if anyone can explain this.

--
Elliotte Rusty Harold
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

  • Follow-Ups:
    • Re: File reference problems in Snow Leopard
      • From: Shane Stanley <email@hidden>
References: 
 >Re: File reference problems in Snow Leopard (From: HÃ¥vard Graudo <email@hidden>)
 >Re: File reference problems in Snow Leopard (From: Shane Stanley <email@hidden>)

  • Prev by Date: RE:Courier in 10.6
  • Next by Date: Re: File reference problems in Snow Leopard
  • Previous by thread: Re: File reference problems in Snow Leopard
  • Next by thread: Re: File reference problems in Snow Leopard
  • Index(es):
    • Date
    • Thread