How to make an alias

Tags ( )

I don't understand the dictionary entry for the alias command. The following *doesn't* create some aliases in a folder:

tell targetFolder
repeat with theItem in myItems
-- make new alias to theItem
end repeat
end tell

This script does work to

This script does work to make an alias:


tell application "Mori"
tell front document
set a to entry named "Things to try"
set b to entry named "Inbox"
alias a to end of entries of b
end tell
end tell

I think you need to change your line to something like this:


alias theItem to end of entries

Works for me, thanks. Used

Works for me, thanks. Used in http://www.hogbaysoftware.com/node/1335
BTW kind:public.folder is not documented in the dictionary?!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.