Board index » delphi » Copying the contents of an internet explorer window programmatically using Ctrl-A and Ctrl-C
Ian
![]() Delphi Developer |
Fri, 08 Apr 2005 05:16:39 GMT
Copying the contents of an internet explorer window programmatically using Ctrl-A and Ctrl-C
Here's my problem and how I solved it.
For every internet explorer window that is open on my desktop I want to be The method I have chosen uses sndkeys32.pas which is hidden away as an extra sndkeys32.pas has two functions which: 1. activate a window given its title So, to copy all the contents all I have to do is activate each IE window, For any other poor saps out there (and judging by google groups there are {*******************************************} // This code works through the open internet explorer windows on the interface uses type var implementation {$R *.DFM} procedure TForm1.Button1Click(Sender: TObject); var begin end; end. SendKeys and AppActivate are in Sndkey32.pas which is on the Delphi5 disc in |