I was working on another problem and came across an old copy of Jasc Media Center and the built in 'tags' called MCML that you could use to do some simple actions. They were somewhat similar to the tags that the Atomz search engine use to have that allowed you to do some simple 'programming' if anyone else ever used them.
I was wondering if something similar might work with Moho / Lua. Since I don't always explain myself with clarity, what I am talking about is some tags that would represent a block of Lua code thus hiding some of the complexity from the non programmers; this would then be processed into normal Lua code. For example the tags I mentioned might be like this
Code: Select all
<moho-loop>
<moho-read-directory (_moho-local/images, $$dirname)>
<moho-find-file-type (jpg, $$filename)>
<moho-if-none-end-loop>
<moho-import-as-layer, $$filename>
</loop>
Just a wild thought ...