Thanks Hugh
The problem is still hapenning though. In fact that registry entry was the
same one I was checking. For some reason instead of opening the new nail
form it opens the inbox. I wouldn't mind if it would do both. When I send
"mailto:[EMAIL PROTECTED]" to internet explorer it does the correct thing
but also opens the browser window. Maybe my settings for my outlook express
are not right.
I'm a bit confused now but thanks for the help
Regards
Monte
>From: Hugh Senior <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: openInternetApp
>Date: Mon, 06 Nov 2000 21:40:43 +0000
>
> >I've been playing with the ScriptersScrapBook found at Flexible Learning
>and
> >was wondering if the openInternetApp handler is meant to actually open a
>new
> >mail form with the specified address. I have outlook express on my
>computer
> >(I never use it) and find that the handler, whilst working perfectly for
>the
> >web browser, opens outlook express but not a new mail form and there is
>no
> >reference to tAddress. Is there a way to specify to outlook that you want
>to
> >compose new mail for a specific address. I'm pretty sure its possible
> >because web sites often open the new mail form. If anyone can help me
>with
> >this it would be great otherwise I'll just tell the user to send email to
> >tAddress
>
>Try this to launch an email... (Although I get spurious quote mark at the
>end end of the address)
>
>on mailto tAddress,tSubject
> put word 1 to -2 of queryRegistry
>("hkey_local_machine\software\classes\mailto\shell\open\command\") into
>tBrowserPath
> if tBrowserPath is not empty then
> if tSubject <> "" then
> launch "mailto:"&tAddress & "?subject=" & tSubject with
>tBrowserPath
> else launch "mailto:"&tAddress with tBrowserPath
> if the result <>"" then
> get smartAnswer("Process already open","Please close your eMail
>program, then try again.","OK")
> end if
> else get smartAnswer("E-mail to"&&tAddress,"Sorry, I cannot identify
>your
>default e-mail program. Please send e-mail manually.","OK")
>end mailto
>
>/H
>
>Hugh Senior
>
>The Flexible Learning Company
>Consultant Programming & Software Solutions
>Fax/Voice: +44 (0)1483.27 87 27
>Email: [EMAIL PROTECTED]
>Web: www.flexibleLearning.com
>
>Archives: http://www.mail-archive.com/[email protected]/
>Info: http://www.xworlds.com/metacard/mailinglist.htm
>Please send bug reports to <[EMAIL PROTECTED]>, not this list.
>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.