Thread View: news.software.readers
19 messages
19 total messages
Started by Frank Lekens
Sun, 18 Jan 2004 16:32
[Dialog]
Author: Frank Lekens
Date: Sun, 18 Jan 2004 16:32
Date: Sun, 18 Jan 2004 16:32
30 lines
1767 bytes
1767 bytes
I've tried out this script to change the date notation in the date column: http://40tude.com/dialog/wiki/index.php/ScriptTwoDigitYear For me it doesn't work. Instead of '18-01-04' or '18-1-04', the date is now displayed as '18-1-24'. Is something wrong with the script maybe? I'll include it here so anyone interested can check rightaway: program OnArticleListPaint; const Idx=4; //Position of the date/time column. function OnArticleListPaint(PaintString:widestring;ColumnIndex:integer):widestring; begin if ColumnIndex = Idx then PaintString := Copy(PaintString, 1, 6) + Copy(PaintString, 9, 8); result:=paintstring; end; begin end. -- Frank (xs4all dot nl is where it's really @)
Re: [Dialog]
Author: foxidrive
Date: Sun, 18 Jan 2004 16:58
Date: Sun, 18 Jan 2004 16:58
26 lines
2544 bytes
2544 bytes
On Sun, 18 Jan 2004 17:32:33 +0100, Frank Lekens wrote: > I've tried out this script to change the date notation in the date column: > http://40tude.com/dialog/wiki/index.php/ScriptTwoDigitYear > > For me it doesn't work. Instead of '18-01-04' or '18-1-04', the date is now > displayed as '18-1-24'. > > Is something wrong with the script maybe? I suspect the author of the script uses a date format with 2 digits for day and month (18/01/2004) as the script (I'm extrapolating from basic - I don't know pascal) simply takes the left 6 characters (18/01/) and the 8 characters from position 9 onward (04 03:46) to paint onto the screen. Your date format seems to use 1 digit for day/month so the first 6 characters are (18-1-2) and the other 8 characters are probably (4 03:46:) which becomes (18-1-24 03:46:). The solution? As I said, I don't know pascal, but the script needs to locate the separators and calculate the correct day/month/year/time positions. You could change your system date format to dd-mm-yyyy which will allow the script to work, or maybe even to dd-mm-yy which dialog should also then use.
Re: [Dialog]
Author: foxidrive
Date: Sun, 18 Jan 2004 18:03
Date: Sun, 18 Jan 2004 18:03
56 lines
2987 bytes
2987 bytes
On Sun, 18 Jan 2004 16:58:19 GMT, foxidrive wrote:
> On Sun, 18 Jan 2004 17:32:33 +0100, Frank Lekens wrote:
>
>> I've tried out this script to change the date notation in the date column:
>> http://40tude.com/dialog/wiki/index.php/ScriptTwoDigitYear
>>
>> For me it doesn't work. Instead of '18-01-04' or '18-1-04', the date is now
>> displayed as '18-1-24'.
>>
>> Is something wrong with the script maybe?
>
> I suspect the author of the script uses a date format with 2 digits for day
> and month (18/01/2004)
Here you go, my first pascal program. Be gentle. ;)
I have only tested it in my own dd/mm/yyyy date format, but I am fairly sure
that it'll work in most locations.
Watch for line wrapping.
program OnArticleListPaint;
// removes the century from the "date time" column.
// idx in the line following is the Position of the date/time column
// on your screen (+/- column doesn't count)
const Idx=4;
var d:integer;
c:widestring;
function
OnArticleListPaint(PaintString:widestring;ColumnIndex:integer):widestring;
begin
for d:= 4 to length(paintstring) do
begin
c := copy(paintstring, d, 1);
if (c = '/') or (c = '-') or (c = '.') then
begin
if ColumnIndex = Idx then
PaintString := Copy(PaintString, 1, d) + Copy(PaintString, d+3, length(paintstring)-d+3);
result := paintstring;
exit;
end;
end;
result := paintstring;
end;
begin
end.
Re: [Dialog]
Author: Frank Lekens
Date: Sun, 18 Jan 2004 18:14
Date: Sun, 18 Jan 2004 18:14
11 lines
1533 bytes
1533 bytes
Op Sun, 18 Jan 2004 16:58:19 GMT schreef foxidrive: > You could change your system date format to dd-mm-yyyy which will allow the > script to work, or maybe even to dd-mm-yy which dialog should also then > use. Hm... Windows doesn't offer me the option of dd-mm-yyyy, only dd-mm-yy. I'll just use that. -- Frank (xs4all dot nl is where it's really @)
Re: [Dialog]
Author: Frank Lekens
Date: Sun, 18 Jan 2004 18:23
Date: Sun, 18 Jan 2004 18:23
33 lines
2340 bytes
2340 bytes
Op Sun, 18 Jan 2004 18:03:58 GMT schreef foxidrive: > On Sun, 18 Jan 2004 16:58:19 GMT, foxidrive wrote: > >> On Sun, 18 Jan 2004 17:32:33 +0100, Frank Lekens wrote: >> >>> I've tried out this script to change the date notation in the date column: >>> http://40tude.com/dialog/wiki/index.php/ScriptTwoDigitYear >>> >>> For me it doesn't work. Instead of '18-01-04' or '18-1-04', the date is now >>> displayed as '18-1-24'. >>> >>> Is something wrong with the script maybe? >> >> I suspect the author of the script uses a date format with 2 digits for day >> and month (18/01/2004) > > Here you go, my first pascal program. Be gentle. ;) > > I have only tested it in my own dd/mm/yyyy date format, but I am fairly sure > that it'll work in most locations. > <snip> I appreciate the effort, but it doesn't work here. (doest it matter that I use - as separator instead of / ?) To be fair, the original script I quoted only seemed to work haphazardly as well. Sometimes when I apply it, it works in the weird way I described, sometimes nothing happens at all - just as with your script, I'm sorry to say. -- Frank (xs4all dot nl is where it's really @)
Re: [Dialog]
Author: foxidrive
Date: Sun, 18 Jan 2004 18:39
Date: Sun, 18 Jan 2004 18:39
27 lines
2567 bytes
2567 bytes
On Sun, 18 Jan 2004 19:23:22 +0100, Frank Lekens wrote: >>> On Sun, 18 Jan 2004 17:32:33 +0100, Frank Lekens wrote: >>> >>>> I've tried out this script to change the date notation in the date column: >>>> http://40tude.com/dialog/wiki/index.php/ScriptTwoDigitYear >>> I suspect the author of the script uses a date format with 2 digits for day >>> and month (18/01/2004) >> Here you go, my first pascal program. Be gentle. ;) > <snip> > I appreciate the effort, but it doesn't work here. (doest it matter that I > use - as separator instead of / ?) No, it caters for / - and . I just tested it with other date formats and it behaves as it should here. > To be fair, the original script I quoted only seemed to work haphazardly as > well. Sometimes when I apply it, it works in the weird way I described, > sometimes nothing happens at all - just as with your script, I'm sorry to > say. Did you paste in the script, compile it, save it, and "reload all compiled scripts in main window"? Do you mean to say my script works, but only haphazardly as well? Curiouser and curiouser...
Re: [Dialog]
Author: Frank Lekens
Date: Sun, 18 Jan 2004 18:58
Date: Sun, 18 Jan 2004 18:58
23 lines
2210 bytes
2210 bytes
Op Sun, 18 Jan 2004 18:39:13 GMT schreef foxidrive: > > Did you paste in the script, compile it, save it, and "reload all compiled > scripts in main window"? > > Do you mean to say my script works, but only haphazardly as well? > Curiouser and curiouser... Duh, my fault. I tried it again, and again it didn't work -- until I saw I'd pasted this script into 'OnNewsgroupListPaint' instead of Article. Now it works fine, thanks a lot. I have neither the time nor the talent to learn the fine details of programming to the extent that I could write scripts myself, but I'm glad there are people who do. (It was the other one that was rather haphazard: sometimes 2004 was condensed to 24, sometimes nothing happened. But knowing me, it was probably me that messed up somewhere in trying to apply it...) -- Frank (xs4all dot nl is where it's really @)
Re: [Dialog]
Author: foxidrive
Date: Sun, 18 Jan 2004 19:04
Date: Sun, 18 Jan 2004 19:04
6 lines
1751 bytes
1751 bytes
On Sun, 18 Jan 2004 19:58:24 +0100, Frank Lekens wrote: > I'd pasted this script into 'OnNewsgroupListPaint' instead of Article. > Now it works fine, thanks a lot. Glad to hear that you sorted it out, and that it works. :)
Re: [Dialog]
Author: MLC
Date: Sun, 18 Jan 2004 19:10
Date: Sun, 18 Jan 2004 19:10
76 lines
3561 bytes
3561 bytes
domenica 18/gen/2004 _Frank Lekens_ ha scritto:
> Op Sun, 18 Jan 2004 16:58:19 GMT schreef foxidrive:
>
>> You could change your system date format to dd-mm-yyyy which will allow the
>> script to work, or maybe even to dd-mm-yy which dialog should also then
>> use.
>
> Hm... Windows doesn't offer me the option of dd-mm-yyyy, only dd-mm-yy.
> I'll just use that.
I rearranged that script inside a larger script of mines.
Now I've cut for you the piece you're interested.
It works on both the date format yy and yyyy, and also cut off the seconds.
Please read careful the comments inside the script.
program OnArticleListPaint;
const
colDate=5; //count your columns from left to right starting from 0
//and write here the number of the column Date;
function
OnArticleListPaint(PaintString:WideString;ColumnIndex:Integer):WideString;
var
n: Integer;
tmpString: WideString;
begin
case ColumnIndex of
colDate:
begin
tmpString := PaintString;
n:=length(PaintString);
if ((n=16) or (n=17)) then //la data ha già l'anno di due cifre
begin
PaintString := Copy(PaintString, 1, 9);
case n of
16:
PaintString := PaintString + ' ' + Copy(tmpString, 10, 4);
//if you like hours from 0 to 9 starting with 0, put a 0 inside ' '
//instead of the space
17:
PaintString := PaintString + ' ' + Copy(tmpString, 10, 5);
//if you like hours from 0 to 9 starting with 0, put a 0 inside ' '
//instead of the space
end; //case
end
else //la data ha l'anno di quattro cifre
begin
PaintString := Copy(PaintString, 1, 6) + Copy(PaintString, 9, 3);
case n of
19:
PaintString := PaintString + Copy(tmpString, 12, 5);
18:
PaintString := PaintString + ' ' + Copy(tmpString, 12, 4);
//if you like hours from 0 to 9 starting with 0, put a 0 inside ' '
//instead of the space
end; //case
end; //if
end; //case
end;
result:=PaintString;
end;
begin
end.
--
random anagram: Tony Blair, MP = I'm Tory plan B
Maria Luisa C - 18/01/04 19.50.30, here.
http://fido.altervista.org/
Re: [Dialog]
Author: MLC
Date: Sun, 18 Jan 2004 19:20
Date: Sun, 18 Jan 2004 19:20
11 lines
1619 bytes
1619 bytes
domenica 18/gen/2004 _Frank Lekens_ ha scritto: [snip] Ops, sorry: I didn't see from previous posts that you already solved your problem. I'm glad you did it! -- random anagram: Clothespins = So Let's Pinch Maria Luisa C - 18/01/04 20.18.33, here. http://fido.altervista.org/
Re: [Dialog]
Author: Frank Lekens
Date: Sun, 18 Jan 2004 19:30
Date: Sun, 18 Jan 2004 19:30
16 lines
1747 bytes
1747 bytes
Op Sun, 18 Jan 2004 20:20:21 +0100 schreef MLC: > domenica 18/gen/2004 _Frank Lekens_ ha scritto: > > [snip] > > Ops, sorry: I didn't see from previous posts that you already solved your > problem. I'm glad you did it! Thanks anyway. The additional benefit of getting rid of the seconds is nice (although I can simply 'push' those out of view, this is more elegant). However, for some reason this (type of?) script doesn't work for me; I tried it, and here too I get '24' for 2004 (instead of '04'). -- Frank (xs4all dot nl is where it's really @)
Re: [Dialog]
Author: MLC
Date: Sun, 18 Jan 2004 21:04
Date: Sun, 18 Jan 2004 21:04
25 lines
2483 bytes
2483 bytes
domenica 18/gen/2004 _Frank Lekens_ ha scritto: > Op Sun, 18 Jan 2004 20:20:21 +0100 schreef MLC: > >> domenica 18/gen/2004 _Frank Lekens_ ha scritto: >> >> [snip] >> >> Ops, sorry: I didn't see from previous posts that you already solved your >> problem. I'm glad you did it! > > Thanks anyway. The additional benefit of getting rid of the seconds is nice > (although I can simply 'push' those out of view, this is more elegant). > However, for some reason this (type of?) script doesn't work for me; I > tried it, and here too I get '24' for 2004 (instead of '04'). Is it the same error you got with the first script? It's strange this behaviour, with both the scripts, because I tried them with the year in yyyy or yy formats and they worked. I'm sorry I can't help. You might better return to the script by foxidrive, that worked. :) -- random anagram: Barbie doll = Liberal bod Maria Luisa C - 18/01/04 21.58.13, here. http://fido.altervista.org/
[Dialog] Script to modify the Date column behavior
Author: Antonio 'Gandalf' Favata
Date: Mon, 19 Jan 2004 01:22
Date: Mon, 19 Jan 2004 01:22
95 lines
4616 bytes
4616 bytes
news.software.readers ~ 18/01/04 20:10:52 ~ MLC:
> I rearranged that script inside a larger script of mines.
And I took the main idea from it to create a more customizable version,
I hope you'll forgive me for this theft ;)
Don't mind the warnings when you compile it, they're due to the boolean
variables I used to make it «configurable»... simply ignore them, it'll
work anyway.
Anybody can add this script to Dialog's Wiki if s/he finds it useful.
|| program OnArticleListPaint;
||
|| const
||
|| colDate = 3; //count your columns from left to right starting from 0
|| //and write here the number of the column Date;
||
|| removeYear = true; //set this to false if you don't want to remove the year
|| removeSeconds = true; //set this to false if you don't want to remove the seconds
|| removeLeading0s = true; //set this to false if you don't want to remove the leading
|| //zero from the day, month and hour strings
||
|| function OnArticleListPaint(PaintString:widestring;ColumnIndex:integer):widestring;
||
|| var
|| x: Integer;
|| tmpDate, tmpTime, day, month, year, h, m, s, dateSeparator, timeSeparator: WideString;
||
|| begin
||
|| case ColumnIndex of
|| colDate:
|| begin
|| x := pos(' ', paintstring);
||
|| tmpDate := copy(paintstring, 1, x-1);
|| tmpTime := copy(paintstring, x+1, 8);
||
||
||
|| day := copy(tmpDate, 1, 2);
|| if removeLeading0s and (copy(day, 1, 1) = '0') then
|| day := copy(day, 2, 1);
||
|| dateSeparator := copy(tmpDate, 3, 1);
|| // uncomment the following line to use your own separator
|| // dateSeparator := '~';
||
|| month := copy(tmpDate, 4, 2);
|| if removeLeading0s and (copy(month, 1, 1) = '0') then
|| month := copy(month, 2, 1);
||
|| year := copy(tmpDate, 7, x-6);
||
||
||
|| h := copy(tmpTime, 1, 2);
|| if removeLeading0s and (copy(h, 1, 1) = '0') then
|| h := copy(h, 2, 1);
||
|| timeSeparator := copy(tmpTime, 3, 1);
|| // uncomment the following line to use your own separator
|| // timeSeparator := '~';
||
|| m := copy(tmpTime, 4, 2);
|| s := copy(tmpTime, 7, 2);
||
||
|| paintstring := day + dateSeparator + month;
||
|| if not removeYear then
|| paintstring := paintstring + dateSeparator + year;
||
|| paintstring := paintstring + ' ' + h + timeSeparator + m;
||
|| if not removeSeconds then
|| paintstring := paintstring + timeSeparator + s;
||
|| end;
|| end; //case
||
|| result:=paintstring;
|| end;
||
|| begin
|| end.
Crossposted: news.software.readers, it.comp.software.newsreader
Followup-To: news.software.readers
--
Fare Well! | Freeware powerful newsreader with multilingual GUI
G | 40tude Dialog 2.0.10.1 ~ <http://snurl.com/dialog>
Re: [Dialog]
Author: Jeff Relf
Date: Mon, 19 Jan 2004 05:52
Date: Mon, 19 Jan 2004 05:52
51 lines
3097 bytes
3097 bytes
Hi MLC , Re: Your program OnArticleListPaint; ,
My thanks goes out to you yet again !
I've Long wanted to change the date format .
Dialog must be using the system setting for the time format ,
because my time format was quite different from yours .
Plus I only ever keep 5 days worth of posts ,
so I never want to see the month , much less the year .
My time stamp now looks like this :
3 9.02 // The 3rd day , AM , 9:02
18. 10.15 // The 18th day , PM , 10:15
^ This is the PM indicator ,
The entire timestamp is always 9 characters wide .
Although I doubt it would work for anyone but me ,
Here's the script :
Program OnArticleListPaint;
function OnArticleListPaint( PaintString: widestring;
ColumnIndex: integer ): widestring;
var X: Integer;
MM_DD, HH_MM_SS_AM, BHH_MM, Day, PM, H, M : WideString;
begin
case ColumnIndex of 3: // Date column , from 0
begin
X := pos( '/', paintstring);
MM_DD := copy( paintstring, X+ 1, 2 );
X := pos( ' ', paintstring);
BHH_MM := copy( paintstring, X, 6 );
HH_MM_SS_AM := copy( paintstring, X + 1, 10 );
X := pos( ' ', HH_MM_SS_AM);
PM := copy( HH_MM_SS_AM, X + 1, 1 );
if PM = 'P' then PM := '.' else PM := ' ';
Day := copy( MM_DD, 1, 2);
if copy( Day, 2, 1) = '/' then
Day := ' ' + copy( Day, 1, 1);
if copy( BHH_MM, 3, 1) = ':' then begin
H := copy( BHH_MM, 1, 2); M := copy( BHH_MM, 4, 2);
end else begin
H := copy( BHH_MM, 2, 2); M := copy( BHH_MM, 5, 2);
end;
paintstring :=
Day + PM + ' ' + H + '.' + M ;
end;
end; // case
result := paintstring;
end;
begin end.
Re: [Dialog]
Author: foxidrive
Date: Mon, 19 Jan 2004 09:29
Date: Mon, 19 Jan 2004 09:29
72 lines
4317 bytes
4317 bytes
On Sun, 18 Jan 2004 20:30:34 +0100, Frank Lekens wrote:
> Thanks anyway. The additional benefit of getting rid of the seconds is nice
If it is of interest this script modifies the date & time column and:
a) removes the century
b) removes the seconds
c) retains AM/PM indicators, if present.
d) pads the front of the date for day/month with only a single digit
e) pads the front of the time for hours that only have a single digit.
The latter two items are most noticeable with a monospaced/non proportional font, such as courier new.
It may not be pretty with a proportional font, so if you want to remove the padding then change
all three occurances of ' ' to ''.
It should handle many locale variations of day month yyyy or month day yyyy, with either single or double digits,
and also handle either military or civilian time, but YMMV.
Feel free to modify, spindle or mutilate. :)
program OnArticleListPaint;
// removes the century and seconds from the "date time" column.
// idx in the line following is the position of the date/time column
// on your screen counting from left to right (+/- column doesn't count)
const Idx=4;
var d:integer;
c:widestring;
am:widestring;
pm:widestring;
dpad:widestring;
function
OnArticleListPaint(PaintString:widestring;ColumnIndex:integer):widestring;
begin
am :='';
pm :='';
dpad :='';
begin
if ColumnIndex = Idx then
if copy(PaintString, length(PaintString)-2, 3) = ' AM' then am := ' AM';
if copy(paintstring, length(paintstring)-2, 3) = ' PM' then pm := ' PM';
c := copy(paintstring, 2, 1);
if (c = '/') or (c = '-') or (c = '.') then dpad := ' '
c := copy(paintstring, 4, 1);
if (c = '/') or (c = '-') or (c = '.') then dpad := dpad + ' '
for d:= 4 to 6 do
begin
c := copy(paintstring, d, 1);
if (c = '/') or (c = '-') or (c = '.') then
begin
PaintString := Copy(PaintString, 1, d) + Copy(PaintString, d+3, 8);
if copy(PaintString, length(PaintString),1) = ':' then
PaintString := copy(PaintString, 1, length(PaintString)-1);
PaintString := dpad + PaintString + am + pm;
if copy(PaintString, 11,1) = ':' then
PaintString := copy(PaintString, 1, 9) + ' ' + copy(PaintString, 10,length(PaintString)-9);
result := paintstring;
exit;
end;
end;
end;
result := paintstring;
end;
begin
end.
Re: [Dialog]
Author: Frank Lekens
Date: Mon, 19 Jan 2004 09:51
Date: Mon, 19 Jan 2004 09:51
47 lines
3476 bytes
3476 bytes
Op Mon, 19 Jan 2004 09:29:10 GMT schreef foxidrive: > On Sun, 18 Jan 2004 20:30:34 +0100, Frank Lekens wrote: > >> Thanks anyway. The additional benefit of getting rid of the seconds is nice > > If it is of interest this script modifies the date & time column and: > > a) removes the century > b) removes the seconds > c) retains AM/PM indicators, if present. > d) pads the front of the date for day/month with only a single digit > e) pads the front of the time for hours that only have a single digit. > > The latter two items are most noticeable with a monospaced/non proportional font, such as courier new. > It may not be pretty with a proportional font, so if you want to remove the padding then change > all three occurances of ' ' to ''. > > It should handle many locale variations of day month yyyy or month day yyyy, with either single or double digits, > and also handle either military or civilian time, but YMMV. > > Feel free to modify, spindle or mutilate. :) Thanks a lot. I've removed the padding (don't use Courier) and it works fine. One strange thing, though -- I wonder whether this has more to do with the way Dialog works than the way this script works: sometimes the old, fuller notation will reappear, especially when I shift the size of the date column. It's a somewhat ghostly phenomenon: if I drag the arrow to change the size of the column (e.g. increase it), when I've finished the notation changes back to the old, fuller notation (except, I now see, for one single post which retains the cropped notation!). Then when I change the column size again, the new, cropped notation appears as long as I'm dragging the arrow for the column width. But as soon as I release the arrow, the old, fuller notation reappears again. Then, when I go to a different newsgroup, the new notation appears again, and when I go back to this group, all is well again and the new, cropped notation is displayed here as well. Weird, huh? (Not that it really bothers me, because I don't really make a habit of dragging the column size about all the time.) -- Frank (xs4all dot nl is where it's really @)
Re: [Dialog]
Author: foxidrive
Date: Mon, 26 Jan 2004 16:16
Date: Mon, 26 Jan 2004 16:16
23 lines
2560 bytes
2560 bytes
On Mon, 19 Jan 2004 09:29:10 GMT, foxidrive wrote: > On Sun, 18 Jan 2004 20:30:34 +0100, Frank Lekens wrote: > >> Thanks anyway. The additional benefit of getting rid of the seconds is nice > > If it is of interest this script modifies the date & time column and: > > a) removes the century > b) removes the seconds > c) retains AM/PM indicators, if present. > d) pads the front of the date for day/month with only a single digit > e) pads the front of the time for hours that only have a single digit. > > The latter two items are most noticeable with a monospaced/non proportional font, such as courier new. > It may not be pretty with a proportional font, so if you want to remove the padding then change > all three occurances of ' ' to ''. I just noticed a bug from this script. My from and subject columns were also processed, not just the date/time column! It must have to do with my nesting of IF-THEN or the "ColumnIndex" variable but wiser heads than me would have to figure that out.
Re: [Dialog]
Author: Frank Lekens
Date: Mon, 26 Jan 2004 18:48
Date: Mon, 26 Jan 2004 18:48
30 lines
2854 bytes
2854 bytes
Op Mon, 26 Jan 2004 16:16:53 GMT schreef foxidrive: > On Mon, 19 Jan 2004 09:29:10 GMT, foxidrive wrote: > >> On Sun, 18 Jan 2004 20:30:34 +0100, Frank Lekens wrote: >> >>> Thanks anyway. The additional benefit of getting rid of the seconds is nice >> >> If it is of interest this script modifies the date & time column and: >> >> a) removes the century >> b) removes the seconds >> c) retains AM/PM indicators, if present. >> d) pads the front of the date for day/month with only a single digit >> e) pads the front of the time for hours that only have a single digit. >> >> The latter two items are most noticeable with a monospaced/non proportional font, such as courier new. >> It may not be pretty with a proportional font, so if you want to remove the padding then change >> all three occurances of ' ' to ''. > > I just noticed a bug from this script. My from and subject columns were > also processed, not just the date/time column! > > It must have to do with my nesting of IF-THEN or the "ColumnIndex" variable > but wiser heads than me would have to figure that out. Huh? I don't think I have that problem. What are its symptoms exactly? -- Frank (xs4all dot nl is where it's really @)
Re: [Dialog]
Author: Frank Lekens
Date: Mon, 26 Jan 2004 18:52
Date: Mon, 26 Jan 2004 18:52
40 lines
3367 bytes
3367 bytes
Op Mon, 26 Jan 2004 19:48:48 +0100 schreef Frank Lekens: > Op Mon, 26 Jan 2004 16:16:53 GMT schreef foxidrive: > >> On Mon, 19 Jan 2004 09:29:10 GMT, foxidrive wrote: >> >>> On Sun, 18 Jan 2004 20:30:34 +0100, Frank Lekens wrote: >>> >>>> Thanks anyway. The additional benefit of getting rid of the seconds is nice >>> >>> If it is of interest this script modifies the date & time column and: >>> >>> a) removes the century >>> b) removes the seconds >>> c) retains AM/PM indicators, if present. >>> d) pads the front of the date for day/month with only a single digit >>> e) pads the front of the time for hours that only have a single digit. >>> >>> The latter two items are most noticeable with a monospaced/non proportional font, such as courier new. >>> It may not be pretty with a proportional font, so if you want to remove the padding then change >>> all three occurances of ' ' to ''. >> >> I just noticed a bug from this script. My from and subject columns were >> also processed, not just the date/time column! >> >> It must have to do with my nesting of IF-THEN or the "ColumnIndex" variable >> but wiser heads than me would have to figure that out. > > Huh? I don't think I have that problem. What are its symptoms exactly? Oh, wait a sec. You're right, something strange is happening with the display of the subject of some threads. Nor does the date display 'stick' entirely: if I click on one of those abbrieviated subject lines, it expands into the full text, but the date column also reverts to full display. Untill I click on a message which has a subject line that is very short already, or go to a different group and return to the group. There *is* something strange about the script, maybe I'll unload it. -- Frank (xs4all dot nl is where it's really @)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads