Hugh,
My code didn't use "launch", it used "open process", and had code to
substitute the "%1" that appears in some command strings with the proper
mailto:
on GoMail tMailTo
switch (the platform)
case "MacOS"
send "mailto:"&tMailTo to program "Finder" with "GURLGURL"
break
case "Win32"
-- First, read the WIndows registry to get the default calling command
for HTML files
put queryRegistry("HKEY_CLASSES_ROOT\mailto\shell\open\command\") into
tMailApp
if tMailApp = "" then exit STS_GoMail
if (quote & "%1" & quote) is in tMailApp then replace quote & "%1" &
quote with tMailTo in tMailApp
if "%1" is in tMailApp then replace "%1" with tMailTo in tMailApp
set cursor to watch
open process tMailApp for neither
break
end switch
end GoMail
For example, on my Win98 PC, I use Outlook as my mail client. The value in
the registry at "HKEY_CLASSES_ROOT\mailto\shell\open\command\" is as
follows:
"C:\PROGRA~1\MICROS~4\OFFICE\OUTLOOK.EXE" -c IPM.Note /m "%1"
This is important, so that an email to [EMAIL PROTECTED] changes the
string to:
"C:\PROGRA~1\MICROS~4\OFFICE\OUTLOOK.EXE" -c IPM.Note /m
[EMAIL PROTECTED]
Did you try this method? It works swimmingly here for me on Win 98/Outlook.
Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Website: http://www.sonsothunder.com/
----- Original Message -----
From: "Hugh Senior" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 15, 2001 1:07 PM
Subject: Re: mailTo problems
> Ken,
>
> Eudora 5.1 (running Win2000) although the same problem is also reported on
> Win98 with Outlook, and on XP with Outlook Express...
>
> put word 1 to -2 of \
>
queryRegistry("hkey_local_machine\software\classes\mailto\shell\open\command
\")
> \
> into tPath
> launch "mailto:" &"<"&tAddress&">" with tPath
>
> /H
>
> > Hugh,
> >
> > What email program is attempting to be launched?
> >
> > Ken Ray
>
>
> >> Hi Ray... Same problem (Win2000)... process is open but email prog not
> >> displayed.... just hangs. Then OS msg "Which program do you want to
use to
> >> open the document <email address>?" is displayed!
> >>
> >> Dunno... Is launch broke?
>
----------------------------------------------------------------------------
----
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.306 / Virus Database: 166 - Release Date: 04/12/2001
>
_______________________________________________
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard