I have an applescript that I distribute to coworkers that is saved as an application bundle that is able to update itself from the server when necessary.
However, after an update, if the user has placed the applescript in their finder window toolbar, the icon becomes a question mark, until they run the app for the first time - which is confusing to the user, especially since the primary use of the script is as a droplet, and the droplet functionality doesn’t work at all when there is a questio mark.
The updated file is in the same location and is the same name, but I belive the Finder actually deletes the old version before resaving the new one, so the toolbar thinks it is missing.
Is there a way to have applescript force the finder toolbar to update this question mark?