Reading a standalone's info.plist file

Pete pete at mollysrevenge.com
Sun Jan 15 13:58:08 EST 2012


Thanks Mark, I will take a look at the uRIP docs.  However, I still prefer
to get the version and copyright info I want from the info.plist.  I just
have this aversion to storing the same information in multiple places,
especially if any of them have to be maintained manually.  I know myself
well enough to know that I WILL forget to update them!

I plan on trying some code in a savingStandalone handler to get hold ot he
version/copyright from the cRevStandalone custom property set and store it
in my own custom properties.

Meantime, grabbing the info from info.plist works just fine on OS X, just
need to figure out where the equivalent location for it is under WIndows.

Pete

On Sat, Jan 14, 2012 at 5:41 PM, Mark Wieder <mwieder at ahsoftware.net> wrote:

> Pete-
>
> Saturday, January 14, 2012, 9:09:51 AM, you wrote:
>
> > I guess I prefer to get it from the
> > plist file because I know if I put it into a custom property, I will
> forget
> > to do it at some point and then the version displayed in the Get Info
> > window will be out of step with what's in my app's ABout dialog.
>
> That's the sort of thing the RunRevInteroperability Project set up the
> uRIP custom property array for. For my projects I store things in the
> stack custom properties like
>
> uRIP["version"]
> uRIP["date"]
> uRIP["author"]
> uRIP["description"]
>
> and then I have functions that retrieve those and populate my About
> box with them.
>
> http://tech.groups.yahoo.com/group/revInterop/
>
> --
> -Mark Wieder
>  mwieder at ahsoftware.net
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>


-- 
Pete
Molly's Revenge <http://www.mollysrevenge.com>



More information about the use-livecode mailing list