Currently Being ModeratedJun 21, 2011 2:23 PM (in response to anothersmurf)
You would have to take the non-trivial step of moving to XCode and ApplescriptObjC.
Currently Being ModeratedJun 21, 2011 2:30 PM (in response to Austin Kinsella1)
No you don't.
Ctrl-click the app in the Finder and select 'Show Package Contents' and navigate to Contents/Info.plist
This is a .plist file that contains data about your application. You can edit this with any application capable of editing .plists and add either a 'Bundle version' or a 'Bundle version string, short' key with the value you want.
Sure, XCode can add this resource automatically as you build your app, but it isn't a prerequesite.
Currently Being ModeratedJun 21, 2011 2:33 PM (in response to Camelot)
it would probably also help to give it a unique bundle identifier. Launch services won't keep track of versions of a script app unless the app can be uniquely identified with respect to other apps.
Currently Being ModeratedJun 21, 2011 2:40 PM (in response to twtwtw)
P.s. It appears you need to open the script app in the AppleScript Editor after you've changed and saved the plist file and then re-save it in order for the version info to appear in the Get Info pane.
Currently Being ModeratedJun 21, 2011 3:06 PM (in response to Camelot)
You learn something every day! Thanks for the correction, Camelot.
Currently Being ModeratedMar 12, 2013 4:17 PM (in response to Camelot)
Posting to this old post, but I am trying above method on my 10.8.2 machine and it doesn't seem to work.
I added the bundle version string as in the attached image.
Recompile my app, saved it but still version info doesn't show up in finder.
Also, tried to change "Bundle version" to "CFBundle version". But still didn't work.
Currently Being ModeratedMar 13, 2013 6:21 AM (in response to hary5366)
There are two keys to note here:
- Bundle Version (CFBundleVersion): the full version number (often used by developers to identify individual builds)
- Bundle Versions String, Short (CFBundleShortVersionString): the string representation of CFBundleVersion that appears in the Get Info dialog.
It's easy to get them confused.
Currently Being ModeratedMar 13, 2013 9:18 AM (in response to twtwtw)
Thanks. That helped. It works now.