Application is a top-level object that can be accessed from any place in the script. It represents the main interface to the Personal Stock Streamer application.
Version (read-only)
Type: String
Description: Version number of this instance of Personal Stock Streamer.
ActiveDocument (read-only)
Type: Document object
Description: The active document object. There is always an active document in Personal Stock Streamer, even if it is empty.
SelectMenuCommand(command)
command: String with menu item name. The string does not have to contain the ampersand, normally used to designate the accelerator character for the menu command.
Description: Select a menu command in the main application.
SelectView(view)
view: String with view name, one of "Active Securities", "Current Holdings", "Transactions", "Reports"
Description: Change the current top-level view
GetCurrentView()
Returns: String with view name, same as used in SelectView method above.
Description: Get the name of the currently selected view.
ShowChart(ticker, bIntraday)
ticker: Ticker object
bIntraday: Boolean
Description: Show a chart for the given ticker object. If bIntraday is True then show an intraday chart, otherwise show an end of day chart.
GetObject(name)
name: String
Returns: Reference to named object, or Nothing if the object does not exist
Description: Retrieves a reference to a named application object or a registered extension object. Named application object such as "ReportManager" are registered by the main application. Extension objects are registered by plug-ins and other program extensions. For example, the chart plug-in registers the "ChartManager" object which can then be retrieved through this method:
Set ChartManager = Application.GetObject("ChartManager")