• 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: Script Application Versions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script Application Versions


  • Subject: Re: Script Application Versions
  • From: "Bob.Kalbaugh" <email@hidden>
  • Date: Wed, 12 Sep 2001 18:07:34 -0500

on 9/12/01 2:24 PM, email@hidden at email@hidden wrote:

> I want to be able to change version numbers that appear in the "get info"
> box for script applications. I have figured out how to do it using ResEdit.
> Is there an easier/faster way than cutting and pasting the resource in?
>
> Jim Scharosch


Hi Jim. If your not averse to using third party osaxen...

The message below was posted to the list on 8/13/01 by Ehsan Saffari. It
covers what you are trying to do. You will need to obtain Tanaka's osax
2.0.1 and Programmer's tool. Both are available at http://www.osaxen.com

Note that when using the script below you will have to change ID 128 to:

ID 1 - for application version string
(Appears under Version: in the info window)

ID 2 - for product version string
(Appears under the file name in the info window)

Feel free to email me off-list if you have any questions

--
bob.kalbaugh


-- ehsan's message --

On 13/08/2001 03:04, Bryan, email@hidden wrote:

>Two ways via OSAXen AFAIK:
>
>Tanaka's OSAX 2.0

Now, why didn't Ay notice that? ;>

set aRec to {version_number:"", revision_number:"", revision_stage:"",
build_number:"", language_integer:"", abbreviated_string:"",
get_info_string:""}
set version_number of aRec to "08"
set revision_number of aRec to "60"
set revision_stage of aRec to "80"
set build_number of aRec to "00"
set language_integer of aRec to 0
set abbreviated_string of aRec to "8.6"
set get_info_string of aRec to "Me Add Resource, he he!"

set theRez to (cast aRec to "vers") -- programmer's tool
try
set thefile to (choose file)
MT Store in Resource theRez to thefile ID 128 -- Tanaka's
on error e number n
display dialog (e & n)
end try

cheers
ehsan


References: 
 >Script Application Versions (From: email@hidden)

  • Prev by Date: PageMaker Print to File Success!
  • Next by Date: Re: AETE? How can I read these
  • Previous by thread: Script Application Versions
  • Next by thread: Re: Script Application Versions
  • Index(es):
    • Date
    • Thread