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 Outlook2007.Outlook2007(system, config)¶
This class knows how to control Outlook 2007, subclasses should also derive from the appropriate Office2007 version to get the platform and so forth correct.
Parameters:
system: a <no title> object to communicate with the target system
config: a <no title> object holding all our configuration
- get_message_count()¶
Return: the number of messages in the currently selected folder
- open()¶
Open a new instance of the app
- open_attachment(attachment)¶
Without explicitly saving the file, open a particular attachment identified by the given string–which should hopefully be unique.
Parameters:
attachment: the string which can be located and identifies the attachment to open
- save_attachments(directory)¶
Save the attachments on the current message to the given directory.
Parameters:
directory: the directory in which the attachments should be saved