Standalone Error Dialog

Peter Haworth pete at lcsql.com
Thu Jul 12 20:31:13 EDT 2012


Folks,
For some reason, I haven't been seeing some of the messages on this thread,
but I found them on the mail archive, starting with Richard's telling me
about the errorDialog message.

My goals are relatively modest, just wanting to report the version (from
the uRIP custom property set of course), platform, and possibly the
executionContexts.

Mark, from your comment it sounds like the revErrorDisplayStack that
contains the custom property error message info isn't included in
standalones?  I've gravitated away from using the savingStandalone message
in favor of a release prep stack for each of my products so I could easily
include something to take care of that.

Thanks to all for pointing me in the right direction.

Pete
lcSQL Software <http://www.lcsql.com>



On Thu, Jul 12, 2012 at 5:05 PM, Richard Gaskin
<ambassador at fourthworld.com>wrote:

> Mark Wieder wrote:
>
>
>  Richard Gaskin <ambassador at ...> writes:
>>
>>  If you need the strings associated with specific errors, you can get
>>> them from the cErrorsList property of the card in the revErrorsDisplay
>>> stack.
>>>
>>
>> Keep in mind, though, that Pete needs to do this in a standalone. To do
>> this
>> he'd need to grab the error list and package it into a custom property of
>> his
>> stack before building the standalone app.
>>
>
> I guessed he would have figured that out on his own. :)
>
> It's worth noting that while the error messages rarely change between
> versions of the engine, it's possible that they might so when updating the
> standalone you may want to update that list of messages.
>
> If you want to be really clever about it you could trap the
> savingStandlone message and have your app take care of that itself at build
> time.
>
> I've also heard recently that there may now be a function in the engine to
> obtain those strings, but I'm not sure if I'm remembering that correctly or
> just getting senile.
>
> --
>  Richard Gaskin
>  Fourth World
>  LiveCode training and consulting: http://www.fourthworld.com
>  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
>  Follow me on Twitter:  http://twitter.com/**FourthWorldSys<http://twitter.com/FourthWorldSys>
>
>
> ______________________________**_________________
> 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<http://lists.runrev.com/mailman/listinfo/use-livecode>
>



More information about the use-livecode mailing list