2 ms·
Programming by demonstration can solve many of these problems by substituting real action for the apprised abstraction. For example, one could drag and drop som
by seanmcdirmid 9y ago
Programming by demonstration can solve many of these problems by substituting real action for the apprised abstraction. For example, one could drag and drop some item, capture that action from a log, and then repeat that action in a script.
- mwkaufma 9y agoThis! This! This! This is the workflow in the 3D modelling/animating program Maya -- every UI action is backed by a MEL (Maya Embedded Language) command, and is logged (it reads like a shell script). It's very easy to perform a task, copy-paste the log, parameterize it, and add a new shelf or inspector for the new compound task. I've seen technical artists without programming backgrounds adapt to this very quickly, and create amazing extensions to the base application. I wish every program worked this way.
- satori99 9y agoBlender does the same thing. Every executed command get added to the info log as regular python snippets that can be copy/pasted into a script or the python console if/when you need to automate something that you have just done via the GUI.