Re: File reference problems in Snow Leopard
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