Executing commands in the Chrome console for the most part is simply executing javascript code. So if my assumption that "
t.se(1024)" is actually a call to a (special?) javascript object t with method se, then you could just execute like follows in Selenium Java:
((JavascriptExecutor) driver).executeScript("
t.se(1024);");
if you needed to get back the return value of a command then it could be something like:
String value = (String) ((JavascriptExecutor) driver).executeScript("return
t.se(1024);"); //assuming it does return string, otherwise typecast as needed