I have an applescript which creates a shortcut on a desktop to an executable on the file system. The excutable has the standard exec icon . Is it possible to change the icon to point to say an icns file ?
I've read you can do it using a third party program as mentioned in Change icon of folder with AppleScript?
but is it possible without using an external program to do this ?
This is my script
set source_file to (POSIX file "path to my exectuable")
tell application "Finder"
make new alias file at desktop to source_file
set name result to "My Shortcut"
end tell
Note: I can also create the same shortcut using ln -s command but in that I don't get any icon, its just a blank page symbol shortcut