• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Distinguishing scriptlets for Apple Events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Distinguishing scriptlets for Apple Events


  • Subject: Re: Distinguishing scriptlets for Apple Events
  • From: email@hidden (Michael Slomski)
  • Date: Sat, 15 Mar 2003 12:43:07 +0100

Hello Joshua

Why don't you simply set up your Applet in the SystemPrefs, tab Email as you
Standard Email app. I don't know, which event it will get, but every Mailapp
will open a new mail window with the adress (so it would be something like
an open event with the mail adress as a parameter...).
Idon't know, if this will work for you, but it is worth a try :-)

Bye Michael

am 15.03.2003 10:07 Uhr, julifos at email@hidden schrieb:

>> My apologies if this issue is not germane to the list, but...
>>
>> I'm trying to write a script to catch mailto: links when they are
>> clicked on and redirect the user to a web email client rather than a
>> conventional application. The script appears functional with an "on
>> <<event GURLMAIL>>" handler, but when compiled into a script
>> application the browser can never find it, even immediately after
>> setting the preferences. Instead, another script application is chosen,
>> more or less at random. In 9, you'd expect changing the creator to fix
>> the problem but, not surprisingly, this doesn't work in X. Putting the
>> script in a standalone Smile application produces similar results, the
>> browser just wants to use Smile itself instead. I'm in the mood to try
>> out Applescript Studio, and might unleash on this problem, but are
>> there any simpler solutions for tweaking a more conventional script
>> application to work?
>>
>> Sincerely,
>> Joshua See
>
> You can try changing all the necessary flags: creator, (you can delete both
> FREF & BNDL) and "plst" (look for your app's "CFBundleSignature").
>
> But I'm not sure you can handle a mailto with a "GURLMAIL". I think you
> should use a standard "GURLGURL" event, which may be what your app will
> receive "on clicked a mailto":
>
> UNTESTED -->
>
> on open location (this_mailto)
> log this_mailto --> "mailto:email@hidden";
> End
>
> JJ
> Yahoo! Web Hosting - establish your business online
> http://webhosting.yahoo.com
> _______________________________________________
> applescript-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/applescript-users
> Do not post admin requests to the list. They will be ignored.



-------------------------------------------------------------------
Computerkartographie M. Slomski
Kartographie Systemberatung & Betreuung
f|r Apple Macintosh


Schnorr-von-Carolsfeld-Str. 19
D-81927 M|nchen

Tel.: ++49 +89-929 40 57 oder ++49 +177-44 57 990
Fax.: ++49 +89-939 311 71
Email: email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Distinguishing scriptlets for Apple Events
      • From: Joshua See <email@hidden>
References: 
 >Re: Distinguishing scriptlets for Apple Events (From: julifos <email@hidden>)

  • Prev by Date: Re: Distinguishing scriptlets for Apple Events
  • Next by Date: Re: Determining item number matching "x" in a list
  • Previous by thread: Re: Distinguishing scriptlets for Apple Events
  • Next by thread: Re: Distinguishing scriptlets for Apple Events
  • Index(es):
    • Date
    • Thread