• 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
Set version of Applescript Application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Set version of Applescript Application


  • Subject: Set version of Applescript Application
  • From: Christopher MJ Tangora <email@hidden>
  • Date: Tue, 1 Feb 2005 15:26:53 -0500

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?


Thanks in advance.


chris


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


There are no property taxes on church-owned orphanages in Chicago.

_______________________________________________
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


  • Follow-Ups:
    • Re: Set version of Applescript Application
      • From: Emmanuel <email@hidden>
    • Re: Set version of Applescript Application
      • From: Jake Pietrykowski <email@hidden>
  • Prev by Date: Re: open image sequence in quicktime
  • Next by Date: Re: download a file with a progress bar question
  • Previous by thread: Re: download a file with a progress bar question
  • Next by thread: Re: Set version of Applescript Application
  • Index(es):
    • Date
    • Thread