Timeline for Is it possible for an AppleScript .scpt file to retain a custom icon, even after edits have been made to the code?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 12, 2017 at 5:28 | comment | added | wch1zpink | I believe you are correct in that observation because I made the necessary adjustments in the plist file, In the document bundle but they did not keep the custom icon if I open the .scptd in script debugger again and make and save changes. | |
Jun 12, 2017 at 5:23 | comment | added | user3439894 | I do not believe a document bundle supports an Icon file property in the Info.plist, but application bundles do. | |
Jun 12, 2017 at 4:04 | history | edited | wch1zpink | CC BY-SA 3.0 |
added 698 characters in body
|
Jun 12, 2017 at 3:23 | comment | added | user3439894 |
That's an interesting workaround for Script Debugger not reseting the custom icon but unfortunately the com.apple.ResourceFork extended attribute of the file continues to grow each time it's saved. So periodically the com.apple.ResourceFork extended attribute will need to be deleted and the icon reset. The file will have to be unlocked to do this, as even using sudo won't bypass the lock.
|
|
Jun 12, 2017 at 3:05 | history | answered | wch1zpink | CC BY-SA 3.0 |