folderAlias.resolve() is broken
can't resolve folder alias in mac os
Environment
macOS 10.13.6
Illustrator CC ver 24.0.1
try:
var folderName="untitled folder"
var folderAliasName="untitled folder alias"
var folderAlias=new Folder(Folder.desktop+"/"+folderAliasName)
//calling resolve on alias returns file
var resolvedFolder=Folder(folderAlias.resolve())
//no..
alert(resolvedFolder.getFiles)//undefined
//test actual folder
alert(Folder(folderName).getFiles)//function...
//seems it points to file
alert(resolvedFolder.constructor)//File (?!)
//just to check
alert(folderAlias.constructor)//Folder
1
vote
illustratorscripts.com
shared this idea