Global Properties

Peter Haworth pete at lcsql.com
Sun Dec 15 19:43:35 EST 2013


Hi Mark,
Thanks for that.  I'm not sure it's working right though.  For example,
acceleratedRendering shows up in the list but according to the dictionary,
it's a property of a stack.  Haven't checked any others but I think the
templatexxxx objects may have the same problem as the propertynames -
they're incomplete.

Oh well, I was just curious more than anything else.



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


On Sun, Dec 15, 2013 at 3:19 PM, Mark Wieder <mwieder at ahsoftware.net> wrote:

> Pete-
>
> Sunday, December 15, 2013, 1:37:03 PM, you wrote:
>
> > Thanks Mark. That's pretty much what I thought but maybe I can find a way
> > to summon the ninja squirrels instead.
>
> Here's a start, although there are still some things in the remaining
> 499 lines that I don't think are really properties ("arm", for one).
>
> on mouseUp
>     put NinjaSquirrel() into msg
> end mouseUp
>
> function NinjaSquirrel
>     local tData
>     local tProps
>
>     put the keys of (the properties of the templatestack) after tData
>     put the keys of (the properties of the templatecard) after tData
>     put the keys of (the properties of the templategroup) after tData
>     put the keys of (the properties of the templatebutton) after tData
>     put the keys of (the properties of the templatefield) after tData
>     put the keys of (the properties of the templateimage) after tData
>     put the keys of (the properties of the templategraphic) after tData
>     put the keys of (the properties of the templatescrollbar) after tData
>     put the keys of (the properties of the templateeps) after tData
>     put the keys of (the properties of the templateplayer) after tData
>     put the keys of (the properties of the templateaudioclip) after tData
>     put the keys of (the properties of the templatevideoclip) after tData
>
>     put the propertynames into tProps
>     repeat for each line tLine in tData
>         filter tProps without tLine
>     end repeat
>     answer the number of lines in tProps && "global properties"
>     return tProps
> end NinjaSquirrel
>
> --
> -Mark Wieder
>  ahsoftware at gmail.com
>
>
> _______________________________________________
> 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
>



More information about the Use-livecode mailing list