Mega Code Archive

 
Categories / Delphi / Multimedia
 

Capture programı ister televizyondan ister windowstan hızlı capture için

unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, ExtDlgs, Buttons,Clipbrd; type TForm1 = class(TForm) Image1: TImage; SpeedButton1: TSpeedButton; procedure SpeedButton1Click(Sender: TObject); procedure FormCreate(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form1: TForm1; x:integer; implementation {$R *.DFM} procedure TForm1.SpeedButton1Click(Sender: TObject); var a:string[4]; b:string[5]; begin Image1.Picture.Assign(clipboard); clipboard.Clear; x:=x+1; b:=inttostr(x); a:='.bmp'; Image1.Picture.SaveToFile(b+a); end; procedure TForm1.FormCreate(Sender: TObject); begin setwindowlong(Application.handle,GWL_EXSTYLE,WS_EX_TOOLWINDOW); x:=1; end; end. SADECE BİR SPEEDBUTTON EKLEYİN FORMA YETER. SPEEDBUTTON A BASTIĞINIZDA DİREK 1.BMP OLARAK "EXE" NİN BULUNDUĞU YERE KOPYALANIR DEVAM ETTİKÇE 2,3... BMP OLARAK OTOMATİK OLARAK KAYIDA DEVAM EDER... SAYGILARIMLA ORKUN ONAT