Re: Set version of Applescript Application
Re: Set version of Applescript Application
- Subject: Re: Set version of Applescript Application
- From: Emmanuel <email@hidden>
- Date: Tue, 1 Feb 2005 22:18:29 +0100
At 3:26 PM -0500 2/1/05, Christopher MJ Tangora wrote:
Hi All,
I've written a few applescript applications that I have
running on various machines. Aside from looking at the creation
date, there is little way to tell the difference between the two.
What I would prefer is to set the version or product version of the
file. I try doing the simple minded thing, but I think it is read
only (but I can't find the entry in the library to confirm this).
Can someone throw me a lifeline here?
...
tell application "Finder" to set version of file "HD:fold:fold:app" to "1"
"Finder got an error: Can't set version of file \"HD:fold:fold:app\"
to \"1\"."
Get the same error if I try using product version instead of version.
Is there some way to declare the version number in the Applescript
so when you compile it the version is embedded then?
You could include a "version()" handler in your application. Except
if you need query the version while the app is not running.
Emmanuel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden