I am having a problem creating an alias to a folder.
The alias is created ok, but the system considers it to be an alias to a document.
This is the script:
Code: Select all
put specialfolderpath("desktop") & "/" & "MyFolder2" & ".lnk" into tAliasPath
put specialfolderpath("desktop") & "/" & "MyFolder" into tOriginalPath
create alias tAliasPath to folder tOriginalPath
--just checking
put the aliasReference of tAliasPath into tRef
if tRef is empty then
answer "it's not a alias"
else
put tRef
end if
Trevix