• 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: Making a folder in the user's library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making a folder in the user's library


  • Subject: Re: Making a folder in the user's library
  • From: Philippe GRUCHET <email@hidden>
  • Date: Sun, 6 Apr 2003 18:52:53 +0200

From: Christopher Nebel <email@hidden>

... if you point to an item inside the "Application Support" folder:
alias ((path to app support from user domain) & "AddressBook" as string)

Then, just move your "Application Support" folder to Desktop and run the line above:
--> alias ":Users:philippe:Desktop:Application Support:AddressBook:"

This special folder remains a special folder, but on Desktop.
(Or anywhere else it has been moved.)


Because of how the Folder Manager works in Mac OS X, any given special folder will be tracked after you ask for it, but only by that application, and only for HFS(+) disks. If another application were to ask for the Application Support folder, it would get the original location (inside Library), not the relocated one, as would someone using a UFS or NFS home directory. In other words, you shouldn't rely on it.

It's a very precious information you're bringing there to many of us.
Thank you very much Chris!

P.S.: Your original example relies on the text item delimiters being set to an empty string. A more reliable version would be
alias ((path to application support from user domain as string) & "AddressBook")

I remember that, by default, the 'text item delimiters' are set to empty string {""} , isn't it?

<tic> 'kicking the habit' is not so easy... </tic>


Kind regards,
Philippe/SVM Mac
http://svmmac.vnunet.fr
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Mail: mailboxes in folders
  • Next by Date: Re: Capturing Code Snippets 2
  • Previous by thread: Re: Making a folder in the user's library
  • Next by thread: Rules for first file in folder?
  • Index(es):
    • Date
    • Thread