• 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
IS: How to Script Firefox/Moxilla to send eMail --WAS: Re: Mozilla/Firefox Suggestion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IS: How to Script Firefox/Moxilla to send eMail --WAS: Re: Mozilla/Firefox Suggestion


  • Subject: IS: How to Script Firefox/Moxilla to send eMail --WAS: Re: Mozilla/Firefox Suggestion
  • From: Johnny AppleScript <email@hidden>
  • Date: Thu, 14 Oct 2004 15:16:26 -0600

Title: IS: How to Script Firefox/Moxilla to send eMail --WAS: Re: Mozilla/Firefox Suggestion
Someone asked me this off-list; suggested I also post it on-list for those interested. This script will ask Firefox to get the current page selection, title and URL, and then create a new email in the default email app with the data formatted. HTH -- JA

set theSelection to "x=getSelection();"
set theTitle to "y=document.title;"
set theURL to "z='<'+escape(location.href)+'>';"
set theFormatting to "rt=escape(\"\\r\");qt=\"''\";"
set theEmail to "location.href=''+y+'&BODY='+qt+x+qt+rt+rt+y+ret+z"
tell application "Firefox" to Get URL "_javascript_:" & theSelection & theTitle & theURL & theFormatting & 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

  • Follow-Ups:
    • Re: IS: How to Script Firefox/Moxilla to send eMail --WAS: Re: Mozilla/Firefox Suggestion
      • From: Johnny AppleScript <email@hidden>
References: 
 >Re: Mozilla/Firefox Suggestion (From: Johnny AppleScript <email@hidden>)

  • Prev by Date: Email Archiver script
  • Next by Date: Re: IS: How to Script Firefox/Moxilla to send eMail --WAS: Re: Mozilla/Firefox Suggestion
  • Previous by thread: Just in: Microsoft Word AppleScript documentation!
  • Next by thread: Re: IS: How to Script Firefox/Moxilla to send eMail --WAS: Re: Mozilla/Firefox Suggestion
  • Index(es):
    • Date
    • Thread