ConsoleUser

Copyright (c) 2010-2023 Skaion Corporarion, www.skaion.com

This project was developed in part by numerous sponsorships from the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints of Governmental purposes notwithstanding any copyright notation thereon.

All content reflects those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of the U.S. Government or Skaion Corporation.

class ConfigureWindows.ConfigureWindows(system, config)

This is the abstract class from which classes that configure windows systems to be used by the ConsoleUser should inherit. This will ensure a common interface, even when not every method applies.

Parameters:

  • system: the <no title> object to interact with the target system

  • config: the <no title> object defining this user

adjust_performance()

Set the system to be optimized for performance, not appearance, so a lot of fancy effects will be disabled.

disable_font_effects()

Turn off much of the extra “fancy” font effects that at least XP uses.

get_resolution()

This is a stub which most platforms will override. In general we go with 800 x 600 though, so we’ll use that as the default.

set_ie_fonts()

Set IE to use Courier New as the default font and make sure it’s not doing its own antialiasing.

set_resolution()

Set the resolution to be the expected value

set_theme()

Set the theme of the system to match the expected value.