Here are a few API functions for console window operations, as follows:
Gets the console window information
getconsolescreenbufferinfo ();
Gets the console window title
getconsoletitle ();
Change the specified buffer size
setconsolescreenbuffersize ();
Set the
:["$", "$ X", "dir", "dirxml", "keys", "values", "profile", "profileEnd", "monitorEvents ", "unmonitorEvents", "inspect", "copy", "clear", "getEventListeners", "undebug", "monitor", "unmonitor", "table ", "$0", "$1", "$2", "$3", "$4", "$ _"]
Ps: As for how to view these things, I will talk about it later. I am afraid you will not understand it for the time being.You can also refer to console object #3. Command Line
1. API prototype SetconsoletextattributeBOOL WINAPI setconsoletextattribute ( _in_ HANDLE hconsoleoutput, // console output stream handle _in_ WORD wattributes // set properties );hconsoleoutput [Input parameters]The handle to the output stream of the console screen (handle to console-screens buffer).The
methods and properties are: (chrome)
Copy Code code as follows:
["$$", "$x", "dir", "Dirxml", "Keys", "values", "Profile", "Profileend", "monitorevents", "unmonitorevents", "inspect", " Copy "," Clear "," geteventlisteners "," Undebug "," Monitor "," Unmonitor "," Table "," $ "," $ "," $ "," $ "," $ "," $_ "]
PS: As to how to view these things, will speak later, temporarily afraid you can not understand.You can also refer to the Co
)Returns a set of elements to which the given XPath expression matches.$The element that is selected in the HTML panel.$The element that was last selected in the HTML panel.$n (Index)Access to the last 5 selected elements, the range of index: 0–4.Dir (object)Same as Console.dir (object).Dirxml (node)With Console.dirxml (node).Clear ()With Console.clear ().Inspect (object[, tabname]) ()View an object in the appropriate (or a specified) tab.Keys (object)Returns the key for all properties of an obj
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.