• 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: how to test bundle versions string?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to test bundle versions string?


  • Subject: Re: how to test bundle versions string?
  • From: phil03 <email@hidden>
  • Date: Sun, 16 Mar 2014 19:43:02 +0700

So I discovered the constant "CFBundleShortVersionString" but my attempts to use it have been thwarted.

This doesn't work, for example:

set myVersionNum to current application's CFBundleShortVersionString

I tried coercing to string and text to no avail.



On 16/03/2014 19:20, phil03 wrote:
I'm trying to implement a "check for software updates" function in my ASObjC app.

I'm more or less there, except I'm not quite sure how to query the current version number in my info.plist from within my application's script.

Suppose I have the newest version number in an html file which I call using curl. I display a dialog prompting the user to update if the version number curl returns is higher than the version number of the calling script.

How do I get the bundles current version number into a property in the script to test against what's returned by curl?



_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: how to test bundle versions string?
      • From: Christopher Nebel <email@hidden>
References: 
 >how to test bundle versions string? (From: phil03 <email@hidden>)

  • Prev by Date: how to test bundle versions string?
  • Next by Date: Fwd: how to test bundle versions string?
  • Previous by thread: how to test bundle versions string?
  • Next by thread: Re: how to test bundle versions string?
  • Index(es):
    • Date
    • Thread