Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

An update to Anim8or, v1.00b, is available with a few bug fixes. Get your copy HERE. See the "ReadMe" file for details.

Author Topic: Console input for scripts  (Read 2961 times)

csf

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • CSF On The Web
Console input for scripts
« on: December 18, 2008, 03:45:18 am »

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.
Logged
AKA coaster sim. fan on the old boards

VBSmiles

  • Full Member
  • ***
  • Posts: 203
    • View Profile
Re: Console input for scripts
« Reply #1 on: December 18, 2008, 08: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.
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 1546
    • View Profile
Re: Console input for scripts
« Reply #2 on: December 25, 2008, 09: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.
Logged

VBSmiles

  • Full Member
  • ***
  • Posts: 203
    • View Profile
Re: Console input for scripts
« Reply #3 on: December 25, 2008, 11: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 )
Logged