parent_hwnd = FindWindow("MozillaDialogClass", torrent_name_Window); SetForegroundWindow((IntPtr)parent_hwnd); // click on radio button "save as" (download dialog - mozilla): PostMessage(parent_hwnd, WM_LBUTTONDOWN, 496, 473); PostMessage(parent_hwnd, WM_LBUTTONUP, 496, 473); System.Threading.Thread.Sleep(1000); // click on OK (download dialog - mozilla): PostMessage(parent_hwnd, WM_LBUTTONDOWN, 708, 571); PostMessage(parent_hwnd, WM_LBUTTONUP, 708, 571);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)