• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Set version of Applescript Application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Set version of Applescript Application (From: Christopher MJ Tangora <email@hidden>)

  • Prev by Date: Re: Set version of Applescript Application
  • Next by Date: Re: duplicate songs in iTunes
  • Previous by thread: Re: Set version of Applescript Application
  • Next by thread: Re: Set version of Applescript Application
  • Index(es):
    • Date
    • Thread