Re: Dock Preferences in Lion
Re: Dock Preferences in Lion
- Subject: Re: Dock Preferences in Lion
- From: Luther Fuller <email@hidden>
- Date: Sat, 20 Aug 2011 18:17:15 -0500
On Aug 20, 2011, at 4:56 PM, Luther Fuller wrote: On Aug 20, 2011, at 3:30 PM, Christopher Stone wrote: On my system an alias to a folder is followed.
An alias TO an alias To a folder is not followed.
That last remark is interesting. I already have aliases in /Mail/V2/Mailboxes/ ... /...mbox that link a mailbox to a folder. I could point the menu alias to the link alias instead of making a direct link.
So I tried that ... My original code to create the menu folder in Lion is ...
set linkedFolder to original item of (alias file linkName of folder subMboxFolder) set outerFolder to my makeSubFolders(menuFolder, mboxNameList) (make new alias file at outerFolder to linkedFolder with properties {name:subFolderName}) as alias
I replaced it with ...
set linkedFolder to (alias file linkName of folder subMboxFolder) set outerFolder to my makeSubFolders(menuFolder, mboxNameList) (make new alias file at outerFolder to linkedFolder with properties {name:subFolderName}) as alias
It created a menu folder that looked normal. And the Dock did not follow the folder aliases into the folders they pointed to. Nice. Then I tried to select one of the items expecting the linked folder to open, but ...
The message ...
Item "AppleScript_Users" is used by Mac OS X and can't be opened.
appeared. So much for alias-to-alias-to-folder. How did you get yours to work?
|
_______________________________________________
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