Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
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



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

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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.