This content has been marked as final. Show 3 replies
There are no AIR 1.0 APIs for this. It *may* be possible to create these files using the File API if you write the code to directly read/write the shortcut and alias file formats.
Oliver Goldman | Adobe AIR Engineering
That's completely missing the point of his question! He knows there's no way to write a shortcut/alias and asked whether you could expose the code which does it. Or point to examples of how to do it.
This is a HUUGE shortcoming of AIR!!!
The AIR Installer manages to write a shortcut/alias to the desktop so why doesnt the API offer this?
I've got the opposite problem, trying to read an alias. We get File::isSymbolicLink but how many "average" users knowingly create symbolic links? Their filesystems are far more likely to be littered with alias/shortcuts, which is a complete headache when displaying a custom directory tree (only certain filetypes visible).