Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

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

csf

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • CSF On The Web
Console input for scripts
« 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.
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, 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.
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2126
    • View Profile
Re: Console input for scripts
« Reply #2 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.
Logged

VBSmiles

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