Anim8or Community

General Category => Anim8or v0.98 Discussion Forum => Topic started by: csf on December 17, 2008, 10:45:18 pm

Title: Console input for scripts
Post by: csf on December 17, 2008, 10:45:18 pm
I know it has been bought up that some times people have been using panoramic scripts for things other then what they were intended. Now while I think over all a better solution is needed (also for like when a shape uses over  10 settings) for now what if we were able to get user input from the console.

Also if you could add support for prompting the user with input and output dialog boxes that I think might even produce a better way for communicating to the user from a script.
Title: Re: Console input for scripts
Post by: VBSmiles on December 18, 2008, 03:46:10 pm
Guess I'll add a simple suggestion here while the Console is the subject.

I'd like the ability to turn off the Console without anim8or also closing ;)
maybe Im just being nit-picky.
Title: Re: Console input for scripts
Post by: Steve on December 25, 2008, 04:58:54 pm
You can disable the console in the File->Configure dialog.  But closing the console also closes the app - this is a feature of Windows not what I want to do.  I've tried intercepting it and to get Windows to ignore it but I haven't been successful.
Title: Re: Console input for scripts
Post by: VBSmiles on December 25, 2008, 06:06:36 pm
Steve, my inexperience in c++ along with the slowly rusting programming knowledge I do have has forgotten that closing the dos console acts as the entire program.
Unless there is a specific reason for using the dos interface that we are unaware of, perhaps it would be better to create one that will close, as a child of anim8or. ( yeah, time consumption... if I had the time, I'd create it for you )