Article View: news.software.readers
Article #144273Re: [Dialog] help needed with scripts
From: MLC
Date: Sat, 28 Feb 2004 20:50
Date: Sat, 28 Feb 2004 20:50
41 lines
2808 bytes
2808 bytes
sabato 28/feb/2004 _matija_ ha scritto:
> Program progressbar;
This sounds a great idea!
Nevertheless it seems odd to me that, wanting to test it inside timer2, the
messagebox always gives 0 as progress bar position, even if it's started:
[...]
begin
ADo('GetNewHeadersInSubscribedGroups');
dialogHWND := findDialogHWND;
statusBarHWND := findStatusBarHWND(dialogHWND);
progressBarHWND := findProgressBarHWND(statusBarHWND);
progressBarPosition := getProgressBarPosition(progressBarHWND);
sleep (5000);
MessageBox (0, IntToStr(progressBarPosition), 'Test', $40);
if(progressBarPosition)=0 then ADo('Script_PostShow');
end;
and therefore PostShow starts too soon.
Do you know why there is always 0 ?
I've tried also onEmailChecked but it doesn't apply to retrieving posts, and
I see that if you don't get any email it does nothing.
My last chance now is to try to check the progress bar position inside a
loop in PostShow, as you suggested.
Yet I'm feeling a bit pessimistic, having seen that value 0 inside timer2.
Thanks again for all your help and your time! :)
--
Maria Luisa C - 28/02/04 21.43.37, here.
Le FAQ italiane del newsreader 40tude Dialog
http://fido.altervista.org/Dialog/faq.html
http://www.lillathedog.net/dialog/faq.html
Technical Details
Message-ID:
<14z3mc7uxnsf2.dlg@ID-187316.user.uni-berlin.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!newsfeed.arcor-online.net!npeer.de.kpn-eurorings.net!fu-berlin.de!uni-berlin.de!ppp-3-197.26-151.libero.IT!not-for-mailReferences:
<1mops9bm8bjs5.dlg@ID-187316.user.uni-berlin.de> <16n122oojxuel$.dlg@shpongle.604> <nyglx8d9lyfk$.dlg@ID-187316.user.uni-berlin.de> <1140be4el222s$.dlg@shpongle.604> <h7ndcuuku3ty.dlg@ID-187316.user.uni-berlin.de> <1nhd691vntmkh$.dlg@shpongle.604>Show Full Headers
Complete Article Headers
Message-ID: <14z3mc7uxnsf2.dlg@ID-187316.user.uni-berlin.de> Subject: Re: [Dialog] help needed with scripts Date: Sat, 28 Feb 2004 21:50:15 +0100 From: MLC <maluc52@yahoo.it> References: <1mops9bm8bjs5.dlg@ID-187316.user.uni-berlin.de> <16n122oojxuel$.dlg@shpongle.604> <nyglx8d9lyfk$.dlg@ID-187316.user.uni-berlin.de> <1140be4el222s$.dlg@shpongle.604> <h7ndcuuku3ty.dlg@ID-187316.user.uni-berlin.de> <1nhd691vntmkh$.dlg@shpongle.604> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!newsfeed.arcor-online.net!npeer.de.kpn-eurorings.net!fu-berlin.de!uni-berlin.de!ppp-3-197.26-151.libero.IT!not-for-mail Newsgroups: news.software.readers Organization: none Lines: 41 Reply-To: mlcald@msn.com NNTP-Posting-Host: ppp-3-197.26-151.libero.it (151.26.197.3) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 1078001418 55530919 I 151.26.197.3 ([187316]) User-Agent: 40tude_Dialog/2.0.10.1it (07dec834.402.424) X-face: `5,A#.XIJ<lGz^'N6ILn}b6?|<WR+%0,; L~ch:[wBzD5P~6.6LZ\&C%X|&^U:8)q#x$J/]* /FKnt["<J>h3NH$m%jn<c#S$nm~r~F>bxcu!//y; ?$FHoBmv36*dBH[/KRN:vsg[<O4E?YF+P?974n sVPO!?-y_M^WJm*5itt!hpd2VEKNy=Vin$wW