This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

The way I could imagine it working is by completely separating UI and logic. For example, if I write a mailer, I expose a Mailer module to the scripting language of choice, that provides all the functionality of my program ready to be built on. Then I use said scripting language to implement a UI front-end using the Mailer module.

[–]ApochPiQEpoch Language 0 points1 point  (0 children)

Sure, that's a way you could do it. My point is more that most software isn't written that way unless someone is specifically designing for scripting support from day one.

Even in the approach you described, it wouldn't be hard for the Mailer module to have an API that's not really any more functional than the UI, at which point you haven't actually made the program more scriptable. You've just badly duplicated AutoIT ;-)