How to get all message names
bonnmike at gmail.com
Mon Jan 30 10:55:56 CST 2012
This may be a roundabout method but.. If you go here
http://bjoernke.com/index.irev?target=bvgdocu and download bvgdocu 2.0 it
generates an sqlite database of the dictionary where the "type" column
contains the type of entry. Message, etc. It might be possible to use the
sqlite db directly, and if not dig around and see exactly how the info was
After poking around in the code it appears that the .index files located in
(C:\Program Files (x86)\RunRev\LiveCode 5.0.2\Documentation) are encoded
arrays. So some method similar to what bvg did should work to extract the
info you are looking for directly from the files. Maybe? Haven't done it
so my level of clue on this stuff is still pretty low.
On Mon, Jan 30, 2012 at 8:34 AM, Klaus on-rev <klaus at major.on-rev.com>wrote:
> Hi Craig,
> Am 30.01.2012 um 16:08 schrieb dunbarx at aol.com:
> > Clever, Klaus.
> But this is only step 1...
> > But there are lots of groups in the stack "revDictionary". I selected
> "message" to load the DG, and then went through each group and tried to
> extract the dgText which contained, say, "mouseUp". Nothing. Do you know
> what the name of the dataGrid is?
> No, sorry, I just looked by myself and that is very well hidden somehow.
> > And why would my method not work?
> Sorry, no idea.
> > Craig Newman
> >> ...
> >> Hi all,
> >> Does anyone know how to quickly get all livecode message names?
> >> I know you can get the propertyNames, the functionNames, the
> >> but I get a error when doing get the messageNames or a couple of
> > Open the dictionary.
> > In the left index click: Language -> Commands
> > Now you only need to extract this list from the first column of the
> datagrid :-)
> >> Thanks in advance,
> >> Claudi
> Klaus Major
> klaus at major.on-rev.com
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the use-livecode