Get Options?
Is there a list of objConfig.GetOption("xxxxx") options? Or maybe a printout of all options for a session? And are some not changeable, meaning read-only?
Thanks! |
Quote:
Code:
. D: represents a DWORD value -- name is in ""s. These are not only for numeric values, but also for:
B: represents a binary value. These cannot be set from within a script, nor can they be manually edited. Z: represents a multi-line string value. For example "Description" sets the text of the "Description" field in Session Options. Yes, there are some fields that cannot be changed. What, specifically, are you looking to accomplish? --Jake |
Trying to change the scroll buffer of a session is my current goal.
|
Quote:
Is this something you're looking to do on an one-time basis, or are you looking to make it large at times, smaller in other occasions, etc. ? VBScript - Set current session's scrollback: Code:
crt.Session.SetOption "Scrollback", 128000 'As large as it can be. Python - Set current session's scrollback: Code:
crt.Session.SetOption("Scrollback", 128000) https://www.vandyke.com/support/tips/defaultset.html Note: In order for a "change" to be applied to all other sessions, the Default session's option/field you're targeting must actually be modified/different from its current value. This means that if the targeted field you want to apply to all other sessions is already set to the value you want, you must first change it to something different (and apply that "change") and then edit the Default session again to set the option to its desired value (and apply that "change"). |
All times are GMT -6. The time now is 04:51 PM. |