Thread View: news.software.readers
1 messages
1 total messages
Started by Alessandro Airaghi
Mon, 31 Jul 2000 00:00
[slrn] saving message by subject
Author: Alessandro Airaghi
Date: Mon, 31 Jul 2000 00:00
Date: Mon, 31 Jul 2000 00:00
43 lines
1715 bytes
1715 bytes
Hi,
I'm not a programmer and I'm a newbie with slang.
This is my little macro:
------------------------------------------------------------------------
% "read_mini_at_end" by John E. Davis
define read_mini_at_end (a, b, c)
{
ungetkey (5); % ^E
return read_mini (a, b, c);
}
define salva ()
{
variable
titolo = extract_article_header ("Subject"),
file = Sprintf ("%s/%s", get_variable_value("save_directory"),titolo,2);
file = read_mini_at_end ("Save to file (^G aborts)", "", file);
set_input_string (file);
call ("save");
}
definekey ("salva", "o", "article");
------------------------------------------------------------------------
But:
1. I'm not able to remove "Re:" or "R:" from subject
2. the [Del] key dosn't work with read_mini function
Someone can help me?
TIA.
Ciao
Ale
--
Home Page: http://web.tiscalinet.it/airaghi
Per ottenere il mio indirizzo e-mail sostituire a NOSPAM il mio cognome
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