Re: Event GURLMAIL
Re: Event GURLMAIL
- Subject: Re: Event GURLMAIL
- From: Sander Tekelenburg <email@hidden>
- Date: Tue, 24 Apr 2001 07:14:16 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
At 22:35 -0600 UTC, on 23/04/2001, Ehsan Saffari wrote:
>
What, if any, is the AppleScript equivalent of:
>
>
<<event GURLMAIL>> with <<class errr>>
>
--activate the default mail app?
Yup.
Btw, with <<class errr>>" is optional and compiles to
with error reporting
>
How does one get the name of the default mailer on any Mac?
In Vanilla AS the best you can do is use <<event GURLMAIL>> and then ask the
Finder for the name of the frontmost process. Ugly, and not 100% reliable
'cause if the app isn't running it'll need to be launched, which takes time,
which means the Finder may return another app as being frontmost...
If you don't mind using a third-party Scripting Addition, I believe there is
an "Internet Config OSAX" that can give you the default mail client. You
should be able to find it at <
http://www.osaxen.com>.
>
and are there any other valid <<event GURLxxxx>>s ?
<<event GURLGURL>>
which compiles to
open location
HTH
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <
http://www.pgp.com>
iQA/AwUBOuULpOsywKfXgqKdEQL1sQCfWgXvhRSOHn422fOkfBH7/Q1LYXIAoOww
w20akvwKhVCKwja5/XZaWGax
=wZ9R
-----END PGP SIGNATURE-----
--
Sander Tekelenburg, <
http://www.euronet.nl/~tekelenb/>
Mac user: "Macs only have 40 viruses, tops!"
PC user: "SEE! Not even the virus writers support Macs!"