Custom templates

Hi all,

any reason why creating a new script based on a custom template is asking me to save right away?

As opposed to opening an “untitled” script in SD…

Just wondering…
Michel

If the template is for a bundled script, a script application (applet/droplet) or an enhanced applet, Script Debugger will ask you to save the script when it is created so that there is a folder hierarchy ready to receive bundle resources.

You can prevent this by adding a SaveBeforeEditing key with a boolean value of false/NO to your template’s TemplateInfo.plist file.

Thanks,

I have set a custom icon for those script, is there any way to have it stick upon resaving?

You need to alter the applet.icns or droplet.icns files within the template’s bundled Resources folder.