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 FilePropertiesImpl.FilePropertiesImpl(system, config)

This class is the base implementation by which a <no title> can access a file properties dialog. This class provides common functions shared by all os-specific implementations.

Parameters:

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

  • config: a <no title> object hold all our configuration

  • ctype: optionally the (string) name of the type of FileProperties to create, overriding anything in the config object

encrypt()

Encrypt file contents via Advanced->Encrypt

open(dirname=None, filename=None, select_all=False)

Open an instance of the file properties dialog via right clicking and selecting ‘properties’. If ‘dirname’ is specified, first open the directory using the ‘run’ box. If ‘filename’ is specified, move the mouse to the first location of the name text.

FilePropertiesImpl.get_file_properties(system, config, shell_type=None)

This is the Factory method wich creates concrete instance of FileProperties to control an actual file properties dialog.

Parameters:

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

  • config: a <no title> object containing our configuration

Return: an instance of a concrete FilePropertiesImpl or None if the type is not known