• 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 Vault and File References
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File Vault and File References


  • Subject: Re: File Vault and File References
  • From: Tom Robinson <email@hidden>
  • Date: Thu, 16 Sep 2004 07:22:41 +1200

On 15 Sep 2004, at 09:38, Paul Turnbull <email@hidden> wrote:

Turns out that AppleScript
has issues with getting object references inside the [File]vault.

Sounds like the same issue a number of us have run across. I found a workaround which I posted to MacInTouch and this mailing list back in May:


I've also been struck by the AppleScript bug where you can't access files on a FileVault protected home folder (it also upsets the hot key to open a Finder item in Super Get Info).

Mark has documented it at <http://homepage.mac.com/mdouma46/panther/bugs.html>. My own test was this AppleScript:

property Logs : alias ((path to library folder from user domain as text) & "Logs:")

tell application "Finder"
  open Logs
  set theComment to comment of Logs
  set labelIndex to label index of Logs
end tell

With my FileVault protected home folder this script will fail on the 'comment' line (and also the 'label index' line) with 'Finder got an error: Can't get comment of alias "tom:Library:Logs:"'

The good news is I found a workaround: I created an empty 2 MB disk image and named the image tom--the same name as my home folder. With this disc image mounted, the above script works!

The script also works with a network volume mounted with the same name as my home folder, which is how I found it.

Cheers
--
The Bible contains six admonishments to homosexuals and three hundred, sixty-two admonishments to heterosexuals. That doesn’t mean that God doesn’t love heterosexuals. It’s just that they need more supervision—Lynne Lavner


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: mount a public folder as guest
  • Next by Date: Re: applescript-users digest, Vol 3 #2877 - 14 msgs
  • Previous by thread: File Vault and File References
  • Next by thread: Applications running..
  • Index(es):
    • Date
    • Thread