• 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: Jake Pietrykowski <email@hidden>
  • Date: Tue, 01 Feb 2005 15:18:54 -0600

Hi Chris,

If all you're concerned with is differentiating between two similar files,
might I suggest using the file 'Comments'.

Either just get info of the file, then add comments.

OR

tell application "Finder"
 set the comment of file "HD:fold:fold:app" to "This is my comment."
end

Versions are stored in InfoPlist files. You can't set a version to a script
saved as an application with AppleScript.

Best Regards,
jp


On 2/1/05 2:26 PM, "Christopher MJ Tangora" <email@hidden>
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?
>
>
> 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


 _______________________________________________
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: download a file with a progress bar question
  • Next by Date: Re: Set version of Applescript Application
  • Previous by thread: Set version of Applescript Application
  • Next by thread: Re: Set version of Applescript Application
  • Index(es):
    • Date
    • Thread