Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

Switch Outlook Reading Pane to Bottom Side

Description
This script will focus the main Outlook window, then send the shortcut keys needed to move the Reading Pane to the bottom side.
Language
C#.net
Minimum Version
Created By
Keith Lammers (BFS)
Contributors
-
Date Created
May 29, 2019
Date Last Modified
May 29, 2019

Scripted Function (Macro) Code

using System;
using System.Drawing;

public static class DisplayFusionFunction
{
	public static void Run(IntPtr windowHandle)
	{
		// Find the main Outlook window and give it focus
		IntPtr window = BFS.Application.GetMainWindowByFile("*outlook.exe");
        BFS.Window.Focus(window);
        BFS.General.ThreadWait(250);
        
        // Send the keystrokes for moving the Reading Pane to the bottom side (Alt, V, PN, B)
        BFS.Input.SendKeys("%(){VK_86}{VK_80}{VK_78}{VK_66}");
	}
}