Thanks to Jacque's suggestions, I was able to construct a stack that lets you display a random page from the Dictionary. I just uploaded it to RevOnline as "Dictionary Random Picks." It is a simple stack but there is always room for improvement. Please let me have your thoughts for any changes. Have fun exploring the Dictionary. Bob
Message: 4 Date: Mon, 10 Jan 2011 13:26:16 -0600 From: "J. Landman Gay" <jac...@hyperactivesw.com> Subject: Re: Random button for Dictionary On 1/9/11 9:47 PM, Bob Cole wrote: I am often delighted to learn new techniques through this livecode-dev list and the use-livecode list. There are many commands and features of LiveCode the I know well but I think there are numerous capabilities that I simply do not know, yet. In reading these lists, I use the dictionary frequently. There is so much information in it that I sometimes think it would be nice to have a "Random" button in the dictionary's tool bar that will display a random page. It would be a fun way to explore. Alternatively, is the Dictionary a stack (it does not show in the stacksInUse result) or does it have an API so we could create our own Random button? This sounded like a cool idea. It's easy to do. Make a stack with a list field and a button. Load the list field with dictionary entries (you can do this from the message box): put the commandnames &cr & the functionnames &cr& the propertynames into fld 1 That'll get most of the terms I think, except for control structures. In the button: on mouseUp set the hilitedline of fld 1 to random(the number of lines in fld 1) revDocumentationGo (the selectedtext of fld 1) end mouseUp I may use this myself in my copious free time. :) -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode