LavishGUI:lguiconsole (Data Type)
(Redirected from ISSession:isuiconsole (Data Type))
Jump to navigation
Jump to search
Contents
Description
This data type provides and controls data for console (Element Type).
Members
- isuifont Font : font type the console is using
- int BorderColor : border color of the console
- int ScrollbackColor : scrollback color of the console
- int BackgroundColor : background color of the console
- int SelectionColor : selection color of the console
Methods
- SetBorderColor[#] : set the color of the border with <#> in hex format <e.g. FFFFFF00>
- SetScrollbackColor[#] : set the color of the scrollback with <#> in hex format <e.g. FFFFFF00>
- SetBackgroundColor[#] : set the color of the background with <#> in hex format <e.g. FFFFFF00>
- SetSelectionColor[#] : set the color of selected text with <#> in hex format <e.g. FFFFFF00>
- Echo[Text] : Echoes <text> to the console
Inherits
Returns
Same as lguielement.Name
Examples
Display the font the Console is using
- echo Console font: ${UIElement[console].FindChild[output].Font}
- Output
Console font: Terminal
Display the scrollback color the Console is using
- echo Scrollback color(in hex): ${UIElement[console].FindChild[output].ScrollbackColor.Hex}
- Output
Scrollback color(in hex): ff330000
Display the background color the Console is using
- echo Background color(in hex): ${UIElement[console].FindChild[output].BackgroundColor.Hex}
- Output
Background color(in hex): ff000033
Set the Console border color
- UIElement[console].FindChild[output]:SetBorderColor[FFFF00FF]
- This command sets the Console border to pink
Set the Console selection color
- UIElement[console].FindChild[output]:SetSelectionColor[FF00FF00]
- This command changes the color when you click and drag your mouse over text, yay, bright green!