Hey nice one Luke,
I got something similar written but i've got all my scripts in one cast son
it's a little shorter.

Thanks and blessings, Darryl

Luke wrote:
> a handy variation to this getPropertyDescriptionList --
>
> on getPropertyDescriptionList (me)
>   pList = [:]
>   pList[#pHandler] = [:]
>   pList[#pHandler][#comment] =  "calls this handler"
>   pList[#pHandler][#format] = #string
>   pList[#pHandler][#range] =  AUTHOR_GETALLMOVIEHANDLERS()
>   pList[#pHandler][#default] = pList[#pHandler][#range][1]
>   return pList
> end
>
>
>
> on AUTHOR_GETALLMOVIEHANDLERS
>   allHandlers = ["nothing"]
>   repeat with aCastNum = 1 to the number of castlibs
>     repeat with  aMemNum = 1 to the number of members of castlib aCastNum
>       if member(aMemNum, aCastNum).type = #script then
>         if member(aMemNum, aCastNum).scripttype = #Movie then
>           theseHandlers = script(aMemNum, aCastNum).handlers()
>           repeat with aHandler in theseHandlers
>             allHandlers.append(string(aHandler))
>           end repeat
>         end if
>       end if
>     end repeat
>   end repeat
>   return allHandlers
> end
>
> Luke
>
>
> ----------------------------------------------------------------
> |  Mecca Medialight | http://www.meccamedialight.com.au/       |
> |  Lingo Resources  | http://www.meccamedialight.com.au/lingo/ |
> ----------------------------------------------------------------
>
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]
>
>


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to