For desktop/openwith menu.
If you click on it, it just opens Sylpheed. If you drop files on it, or use it from the "open with" menu, it composes an email with the files attached.
I haven't actually tested, so please report if it doesn't work

EDIT
Fixed to actually work. Thanks HairyWill
Also, I confirmed that it does work with mailto: links. I imagine it won't work with links for newsgroups, but you could modify it to do so just by detecting them in the same way as the mailto links.
If this was fixed then it might be worth separating out the code into a sylpheed launch script like I did with the thunderbird roxapp

EDIT - IGNORE THIS OLD EDIT
EDIT
I think Sylpheed1.tar.gz will actually work with mailto: links sent from other applications, and the original version won't.
But to tell the truth, I don't even know if Sylpheed CAN handle mailto: links, so please let me know if it works.

OK I updated the Custom-command and Batch-command roxapps to open the windows under the mouse instead of in the centre of the screen, updated the Sylpheed roxapp to handle mailto: links (hopefully), and updated the thunderbird roxapp for the same thing, and then split the code into a separate thunderbird starter script.

AppBuilder is a generic AppDir which can be used to create several different kinds of AppDirs including those that contain source code and binaries. It includes routines for handling drag-n-drop of one or more files on the icon.
I've always meant to create a couple of more which could be better for creating AppDir which simply 'wrap' already installed programs or scripts like what you are doing. Several things could particularly be handled better like creation or editing of menu entries.
On my own system I use sveral small menu/dialog programs which make the whole thing work better with GUI elements. These include Xdialog, greq and the small menu program from aewm. Of course, Puppy has gtkdialog and gtkbasic which open up still more possibilities. Still, you may find some useful code in AppBuilder for creating different kinds of AppDirs or what you are already creating, which I call 'WrapDirs'.
I have around 20-30 different AppDirs which are of the self-compiling type, but my most useful ones are just complex wrappers for scripts and programs which are usually found apart from the AppDir itself. One of the most useful ones is ZipZap, an AppDir which is a frontend to various compression programs. If you drop a compressed archive on it, it will decompress it in the same dir as the compressed archive. Or, you can drop files or directories on it and it opens a dialog to find out what kind of archive you want to create. I use it a few hundred times a day usually. I keep meaning to add to it and ify a problem or two, but I just haven't gotten around to it...
http://distro.ibiblio.org/pub/linux/distributions/amigolinux/download/AppDirs/ZipZap-1.0.tbz

I just updated the Sylpheed roxapp to one that actually works, and will update the Thunderbird roxapp (the -mail argument is nonsense) in a couple of minutes._________________DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!

here is xbomber (a bomberman clone) - I patched it up just enough to compile on Wary's gcc. It untars to a rox appdir with all the data inside in an xzipped tarball set up to be unpacked on run and deleted on exit.

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum