Sylpheed-Claws/Win32 : Actions
Sylpheed-Claws/Win32 : Actions
Warning:
Using pipe actions on Win32 is quite experimental, so you
should be aware that this is unstable, causes memory and
resource leakage and esp. doesnt claim to be easy to use.
Notes:
- Pipes only work for the called process. When starting a batch file, you
will only get the output of the batch file itself. Programs called within that
batchfile will neither receive data from standard input, nor can its output be
fetched. Workaround: Write perl scripts instead of batch files. Remember to
call your script by passing it as an argument to perl, e.g. "perl myscript.pl"
(when calling "myscript.pl" directly, the commandline parameters will be
discarded)
- Quoting on cmd.exe or command.com does not always work as expected. I
recommend using a batch file that dumps all parameters to see, what is really
passed to your application
- Some Perl builds will not work (e.g. from Cygwin and MinGW).
I successfully tested the builds from
ActiveState,
Siemens (SiePerl)
and IndigoStar.
IndigoPerl is a very small (~8MB) but complete package, does not need any special
installation and supports ActiveState packages. If size really matters, you may
prefer the minimalistic Perl build (no modules or documentation).
Requirements:
Sample actions and scripts:
ASPELL
|
Run spellchecker
|
command:
|
|perl c:\script\aspell.pl|
|
script:
|
aspell.pl
|
BUNZIP2
|
View contents of bzip2'ed attachments
|
command:
|
perl c:\script\bunzip2.pl
|
script:
|
bunzip2.pl
|
ENSPRINT
|
Print mail using Enscript/GSView
|
command:
|
c:\script\ensprint.bat "%s"
|
script:
|
ensprint.bat
|
FORTUNE
|
Add fortune after sig separator or end of body
|
command:
|
|perl c:\script\fortune.pl|
|
script:
|
fortune.pl
|
GPG
|
Check clearsigned message
|
command:
|
c:\gnupg\gpg.exe --verify "%F"
|
GPG
|
Clearsign message
|
command:
|
|perl c:\script\clearsign.pl|
|
script:
|
clearsign.pl
|
GUNZIP
|
View contents of gzip'ed attachments
|
command:
|
perl c:\script\gunzip.pl
|
script:
|
gunzip.pl
|
LINKS
|
Render html part using links.exe
|
command:
|
perl c:\script\links.pl "%p"|
|
script:
|
links.pl
|
MSGID
|
search google for message id
|
command:
|
|perl c:\script\google_msgid.pl
|
script:
|
google_msgid.pl
|
PAR
|
Reformat paragraphs
|
command:
|
|perl c:\script\par.pl|
|
script:
|
par.pl
|
ROT13
|
simple encryption / decryption
|
command:
|
|perl c:\script\rot13.pl|
|
script:
|
rot13.pl
|
UNGEEK
|
decode Geek Code Blocks
|
command:
|
|perl c:\script\ungeek.pl
|
script:
|
ungeek.pl
|
VIM
|
Edit mail directly
|
command:
|
d:\vim\gvim.exe "%F"
|
VERIFY
|
Verify/reformat pgp clearsigned message
|
command:
|
|perl c:\script\verify.pl|
|
script:
|
verify.pl
|
Name Last modified Size Description
Parent Directory -
MailPrint-1.0.0.1.zip 2003-04-06 06:18 425K
MiniPerl-5.8.0.zip 2003-02-06 16:55 461K
aspell.pl 2003-02-02 23:18 376
bunzip2.pl 2003-02-02 23:18 171
clearsign.pl 2003-02-02 23:18 237
ensprint.bat 2003-02-02 23:18 1.1K
fortune.pl 2003-02-02 23:18 268
google_msgid.pl 2003-02-02 23:18 205
gspawn-win32-helper.zip 2003-02-02 23:18 2.6K
gunzip.pl 2003-02-02 23:18 185
links.pl 2003-02-02 23:18 571
par.pl 2003-02-02 23:18 415
rot13.pl 2003-02-02 23:18 84
sylprint.vim 2003-02-02 23:18 8.2K
ungeek.pl 2003-02-02 23:18 55K
verify.pl 2003-02-03 17:40 2.6K