Application Information - how to read from settings

Richard Gaskin ambassador at fourthworld.com
Mon May 10 23:29:45 EDT 2010


Mark Stuart wrote:
> Hi Richard,
> I placed a button on the Main stack and put this script into it:
>
> on mouseUp
>    put the cRevStandaloneSettings of this stack into tSettings
>    answer tSettings
> end mouseUp
>
> but it displayed nothing in the dialog.
>
> What am I missing?

That's a custom property set, not a single property.  To get those 
values you can do this:

   put the customPropertySet["cRevStandaloneSettings"] \
    of stack "MyStack" into tMyArray

That gives you the array of data; you can see all the values with:

   combine tMyArray with return and tab
   put tMyArray



--
  Richard Gaskin
  Fourth World
  Rev training and consulting: http://www.fourthworld.com
  Webzine for Rev developers: http://www.revjournal.com
  revJournal blog: http://revjournal.com/blog.irv



More information about the use-livecode mailing list