Re: IS: How to Script Firefox/Moxilla to send eMail --WAS: Re: Mozilla/Firefox Suggestion
Re: IS: How to Script Firefox/Moxilla to send eMail --WAS: Re: Mozilla/Firefox Suggestion
- Subject: Re: IS: How to Script Firefox/Moxilla to send eMail --WAS: Re: Mozilla/Firefox Suggestion
- From: Johnny AppleScript <email@hidden>
- Date: Thu, 14 Oct 2004 16:12:40 -0600
Title: Re: IS: How to Script Firefox/Moxilla to send eMail --WAS: Re: Mozilla/Firefox Suggestion
(as if you haven't had enough already) By request, this version looks to make sure there is selected text and formats appropriately.
set theFormatting to "rt=escape(\"\\r\");qt=\"''\";"
set theSelection to "x=getSelection();if(x)x=\"QUOTE: \"+qt+x+qt+rt+rt;"
set theTitle to "y=document.title;"
set theURL to "z=escape(\"<\"+location.href+\">\");"
set theEmail to "location.href=''+y+'&BODY='+x+y+rt+z"
tell application "Firefox" to Get URL "_javascript_:" & theFormatting & theSelection & theTitle & theURL & theEmail inside front window
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden