SetActiveWindow(ptr);
PostMessage(ptr, WM_SYSKEYDOWN, (int)Keys.ControlKey, 0);
PostMessage(ptr, WM_SYSKEYDOWN, (int)Keys.A, 0);
PostMessage(ptr, WM_SYSKEYUP, (int)Keys.ControlKey, 0);
PostMessage(ptr, WM_SYSKEYUP, (int)Keys.A, 0);