Hi, hope someone can help. I am trying to add an extra code to my applet. The idea is to avoid others from changing the icon i assigned to it.
I added this code:
set ggg to (path to desktop folder) & "untitled.PNG" as text
set the icon of x to ggg
this returns a overflow error, so I download this from the internet:
set exePath to (path to home folder as text) & "UnixBins:SetFileIcon"
set imagePath to (path to desktop folder as text) & "theImage.png"
set theFile to (path to desktop folder as text) & "Some File.txt"
do shell script quoted form of POSIX path of exePath & " -image " & quoted form of POSIX path of imagePath & " -file " & quoted form of POSIX path of theFile
but i was not capable of making it run, to be honest i do not even know what the exePath variable is for… some help will be appreciated.
thank you for your time!
Brian