Article View: alt.free.newsservers
Article #37095Re: how many retries does it take for biggulp?
From: cheap
Date: Tue, 21 Oct 2003 23:15
Date: Tue, 21 Oct 2003 23:15
140 lines
4978 bytes
4978 bytes
Make a little program that sends F5 periodically - Quite easy. See sample
below
or install your bed on F5 key :-))
sample delphi pgrogr.
WARNING : YOU HAVE TO ADAPT !! DO NOT USE IT AS IS !!
UNDESTAND AND DEBUG IF YOU CAN (I AM SURE YOU CAN)!!
JUST AN IDEA . NOT PERFECT - Takes 5 mn to do this . . .
Create a simple form with a one button.
unit Outlook_Control;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls;
type
TForm1 = class(TForm)
Timer1: TTimer; <<< PUT A TIMER ON THE FORM - Fix to 5000 ms the
cycle or any value .
Button1: TButton;
procedure Timer1Timer(Sender: TObject);
procedure FormCreate(Sender: TObject);
procedure Button1Click(Sender: TObject);
private
Procedure CloseWinOutlook;
public
end;
var
Form1: TForm1;
h_out : THandle;
implementation
{$R *.dfm}
procedure TForm1.Timer1Timer(Sender: TObject);
begin
CloseWinOutlook();
end;
Procedure TForm1.CloseWinOutlook;
var
h : THandle;
begin
h := FindWindow(PChar('#32770'), PChar('Outlook Express')); << REPLACE
BY EXACT TITLE OF YOUR WINDOW
if (h <> 0) then
begin
if (h <> h_out) then
begin
ShowMessage ('2 nd Win detected !'); <<<< JUST FOR DEBUG
{
if (PostMessage(h,wm_syscommand, sc_close, 0) then <<< THIS SENDS A
CLOSE COMMAND TO THE WINDOW
- REPLACE WITH A F5 SENDER MSG-
begin
Application.ProcessMessages;
end;
}
end;
end;
end;
procedure TForm1.FormCreate(Sender: TObject);
Var
h : THandle;
begin
ShowMessage('Warning - Outlook must be active BEFORE activate this prog');
Button1.Caption := 'Activate';
Button1.Tag := 0;
h := FindWindow(PChar('#32770'), PChar('Outlook Express')); <<<<<<
DEPENDING OF WANT YOU WANT TO DO -
FOR MY NEEDS, THE FIRST WIN IS NOT BE TO BE CLOSED.
if ( h <> 0 ) then
begin
h_out := h
end;
end;
// Activate or desactivate the want you want to do.
procedure TForm1.Button1Click(Sender: TObject);
begin
If Button1.Tag = 0 then
begin
Timer1.Enabled := True;
Button1.Tag := 1;
Button1.Caption := 'Désactivate';
end
else
begin
Timer1.Enabled := False;
Button1.Tag := 0;
Button1.Caption := 'Activate';
end;
end;
end.
--
Cheap
Sample Source Free , of course.
"nemo" <nemo@naughtylass2.wet> a écrit dans le message de
news:Mc9lb.100424$SJ5.31821@news-lhr.blueyonder.co.uk...
>
> Mike Horwath <drechsau@octanews.net> wrote in message
> news:3f94172e$0$16397$892e0abb@auth.newsreader.octanews.com...
> > nemo <nemo@naughtylass2.wet> wrote:
> > : Secret? You mean like http://www.readfreenews.com/status/
> >
> > You're fired!
> >
> Waaa-waa - waa-waa - waa-waa . . . . .
>
> Fzszszszszszszzzzsssssss!
>
> Ahhhhhhh. That's better. They've put it out.
>
> Now. Where were we? Ah, yes:
>
> Click on a message > wait for 'cannot be displayed' > click again then
keep
> clicking f5 every time it refreshes and re-pings - FOR ABOUT FOUR
HOURS!!!!!
>
> I know. How about a photocell on the screen to detect the refresh and a
bit
> of electronics to operate a solenoid pressing the f5 key automatically? OK
> as long as you don't want to do anything else with the PC. :o)
>
>
Technical Details
Message-ID:
<V5jlb.72913$bU3.946470@news.chello.at>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20140909.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newscore.univie.ac.at!newsfeed.utanet.at!newsfeed01.chello.at!news.chello.at.POSTED!53ab2750!not-for-mailReferences:
<20031013171254.288$e6@news.newsreader.com> <Xns941391CE08DB7vegasedvegasedvegase@63.223.5.254> <20031013172804.361$K9@news.newsreader.com> <3f8b1e40$0$173$892e0abb@auth.newsreader.octanews.com> <YSjkb.77131$SJ5.46076@news-lhr.blueyonder.co.uk> <3f94172e$0$16397$892e0abb@auth.newsreader.octanews.com> <Mc9lb.100424$SJ5.31821@news-lhr.blueyonder.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <V5jlb.72913$bU3.946470@news.chello.at> Subject: Re: how many retries does it take for biggulp? Date: Tue, 21 Oct 2003 23:15:01 GMT From: "cheap" <taratata@somewhere.org> References: <20031013171254.288$e6@news.newsreader.com> <Xns941391CE08DB7vegasedvegasedvegase@63.223.5.254> <20031013172804.361$K9@news.newsreader.com> <3f8b1e40$0$173$892e0abb@auth.newsreader.octanews.com> <YSjkb.77131$SJ5.46076@news-lhr.blueyonder.co.uk> <3f94172e$0$16397$892e0abb@auth.newsreader.octanews.com> <Mc9lb.100424$SJ5.31821@news-lhr.blueyonder.co.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20140909.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newscore.univie.ac.at!newsfeed.utanet.at!newsfeed01.chello.at!news.chello.at.POSTED!53ab2750!not-for-mail Newsgroups: alt.free.newsservers Lines: 140 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 213.245.6.223 X-Complaints-To: abuse@chello.fr X-Trace: news.chello.at 1066778101 213.245.6.223 (Wed, NNTP-Posting-Date: Wed, 22 Oct 2003 01:15:01 MEST Organization: Customers chello France