|
#1
|
|||
|
|||
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! |
#2
|
||||
|
||||
Quote:
Code:
. . . S:"Hostname"= S:"XAuthority File"= S:"XServer Host"=127.0.0.1 D:"Enforce X11 Authentication"=00000001 D:"Request Shell"=00000001 S:"Keyboard Interactive Prompt"=ssword D:"Disable Initial SFTP Extensions"=00000000 D:"Max Packet Size"=00001000 S:"Firewall Name"=None S:"Sftp Tab Local Directory V2"=${VDS_USER_DATA_PATH} S:"Output Transformer Name"=UTF-8 D:"Use Global ANSI Colors"=00000001 S:"Sftp Tab Remote Directory"= S:"Username"=myusername . . . 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
__________________
Jake Devenport VanDyke Software Technical Support YouTube Channel: https://www.youtube.com/vandykesoftware Email: support@vandyke.com Web: https://www.vandyke.com/support |
#3
|
|||
|
|||
Trying to change the scroll buffer of a session is my current goal.
|
#4
|
||||
|
||||
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").
__________________
Jake Devenport VanDyke Software Technical Support YouTube Channel: https://www.youtube.com/vandykesoftware Email: support@vandyke.com Web: https://www.vandyke.com/support |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | Rate This Thread |
|
|