Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Fizgar
Magician


Joined: 07 Feb 2002
Posts: 333
Location: Central Virginia

PostPosted: Tue Dec 07, 2010 11:59 pm   

[3.32] #makewindow options
 
#makewindow needs an option to create the window with a command line. It could also be useful to have an option for a status bar as well.
_________________
Windows Vista Home Premium SP2 32-bit
AMD Athlon Dual Core 4400+ 2.31 GHz
3 GB RAM
CMUD 3.34
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Wed Dec 08, 2010 1:14 am   
 
You can use %pref to do this. This should do the trick. You'll have to close and re-open the window though.

Code:
:WindowName:#show %pref(commandline,1)
#CLOSE WindowName
#WINDOW WindowName
_________________
Asati di tempari!
Reply with quote
Fizgar
Magician


Joined: 07 Feb 2002
Posts: 333
Location: Central Virginia

PostPosted: Wed Dec 08, 2010 2:03 am   
 
While doing what you suggested or what I have below works. It is just what you called it Tech, a "trick".
Code:
#makew testwindow
#wait 100
#execw testwindow {#call %pref(Commandline,1)}
#close testwindow
#window testwindow


Adding the option to have the window created with the command line from the start would be much cleaner and on par with the rest of CMUD's functionality.
_________________
Windows Vista Home Premium SP2 32-bit
AMD Athlon Dual Core 4400+ 2.31 GHz
3 GB RAM
CMUD 3.34
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Wed Dec 08, 2010 1:34 pm   
 
Many command line functions do not have the full capability of adjusting all the possible parameters. Buttons are a particular problem with this. The problem is that window and buttons have too many customization features. It is simply not practical to make all of that accessible through the commandline function. I believe that Zugg has said in the past that this is unlikely to change, in the case of buttons.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net