Thanks to Dave and Sjoerd for arriving at the elegant 2-line solution on a PC:
put word 1 to -2 of \
queryRegistry("hkey_local_machine\software\classes\mailto\shell\open\command
\") \
into tBrowserPath
launch "mailto:"tAddress with tBrowserPath
Now... Does anyone have the AppleEvent
Apologies - I see Craig already answered this back on 13.03.00:
put "Mailto:"tAddress into tEmailAddress
send tEmailAddress to program "Finder" with "GURLGURL"
/H
Hugh Senior
The Flexible Learning Company
Consultant Programming Software Solutions
Fax/Voice: +44 (0)1483.27 87 27
Email: [EMAIL
Thanks to Dave and Sjoerd for arriving at the elegant 2-line solution on a PC:
put word 1 to -2 of \
queryRegistry("hkey_local_machine\software\classes\mailto\shell\open\command
\") \
into tBrowserPath
launch "mailto:"tAddress with tBrowserPath
I think originally you wanted to do this