Many thanks to all those who have answered my previous questions, your advice has been invaluable! Your reward is that you get even more questions
There may be obvious answers to some of the following, in which case feel free to castigate me for my stupidity :-). However, I’m familiar enough with the ZScript command ref now that none of the questions have any answers that I can easily see…
- Is there any way of “iterating” over a set of custom tools, for example by getting a list of them somehow and then going through each element of the list. I’d like to do something like, for example
[VarSet, customMats, […expression returning list of materials…]]
-
Are there rules for what happens if, for example, I load two custom tools which have the same file name? I can try this myself, of course, but I’m wondering if there is a formally defined rule which would apply to all such possible conflicts.
-
Is there any way of renaming a custom tool, mat, etc. Is there any way of providing other aliases for existing tools and mats?
-
Is it possible to define the text that comes up when a user hovers over a custom control and presses Ctrl, in addition to defining just the standard popup description (which I know can be done when defining the control)?
-
When bringing up a “Open” dialog, is there any way of setting thing up so that a user can choose a folder rather than a file? (I’m writing a script which will be project-based rather than document-based, so that the user can open an entire project at once.)
-
Is there any way of presenting a field to the user allowing them to enter arbitrary text, so they can rename models and so forth?
As always, many thanks for the questions. More to follow
Ken