Path: csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.014 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'python.': 0.02; 'broken': 0.04; '(using': 0.07; 'explicit': 0.07; 'cursor': 0.09; 'question?': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'charge,': 0.16; 'default),': 0.16; 'finney': 0.16; 'ideally,': 0.16; 'pane': 0.16; 'really?': 0.16; 'subject:link': 0.16; 'subject:program': 0.16; 'tab': 0.16; 'win7': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'wed,': 0.18; 'subject:page': 0.19; 'starts': 0.20; 'settings': 0.22; '>>>': 0.22; 'cc:addr:python.org': 0.22; '(or': 0.24; 'cc:2**0': 0.24; 'script': 0.25; 'posts': 0.26; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'external': 0.29; 'am,': 0.29; 'specified': 0.30; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'code': 0.31; '>>>>': 0.31; 'loads': 0.31; 'own,': 0.31; 'question:': 0.31; 'writes:': 0.31; 'this.': 0.32; 'open': 0.33; 'url:python': 0.33; 'running': 0.33; 'could': 0.34; "can't": 0.35; 'anywhere': 0.35; '(2)': 0.35; 'more,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'surely': 0.36; 'done': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'should': 0.36; 'too': 0.37; '(3)': 0.38; 'ben': 0.38; 'gmail': 0.38; 'nov': 0.38; 'same.': 0.38; 'window': 0.38; 'pm,': 0.38; '12,': 0.39; 'sure': 0.39; 'url:mail': 0.40; 'wife': 0.60; 'field.': 0.61; 'today.': 0.61; 'new': 0.61; 'browser': 0.61; 'address': 0.63; 'happen': 0.63; 'pick': 0.64; 'chance': 0.65; 'news': 0.67; 'subject': 0.69; 'default': 0.69; 'clicking': 0.73; 'compose': 0.84; 'ethan': 0.84; 'furman': 0.84; 'plugins': 0.84; 'joel': 0.91; 'opens': 0.91; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=pmxjBJ/KWP0ZU8q9IndPu3C/VqRHXhS7CnlvnCjyQEY=; b=Vza5BkztZvegSz+LkB22fSQ6KIzAUTbhMh5M3ou6aHAQO1/n99sqoJ25/9n3c9Shgh TFvm3ky5ZSAW2/lDLlW5CyjK3endVarD/5mmIItF25wqZZzVCB8zBRj0kYXgeEDfl+IB 3xDMrspg6C5s9J9TpWfGsBYk1xtiPF6LLYuZCvQthfT7y4gipflGirkLPCSzrw8xvXkA mP/QaP3tNuQu6sNJqc3VKddUx7q65zT6f8chQrpMwDQqMItMVBrgT/OnLvjBsZ22JNly 4LDOTpR2TDD7E229+oTHIm4a8rLMMoMHJXNMK///Eg6mUR5eVvDmur8xnLI/h34YzIMH oR+A== MIME-Version: 1.0 X-Received: by 10.229.212.66 with SMTP id gr2mr60267249qcb.8.1415795658759; Wed, 12 Nov 2014 04:34:18 -0800 (PST) In-Reply-To: <3jF8w.618086$XH2.407153@fx23.am4> References: <5462B203.7070201@stoneleaf.us> <85y4rh5iol.fsf@benfinney.id.au> <3jF8w.618086$XH2.407153@fx23.am4> Date: Wed, 12 Nov 2014 07:34:18 -0500 Subject: Re: html page mail link to webmail program From: Joel Goldstick Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 57 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1415795667 news.xs4all.nl 2846 [2001:888:2000:d::a6]:53395 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:80601 On Wed, Nov 12, 2014 at 3:58 AM, alister wrote: > On Wed, 12 Nov 2014 08:56:07 +0000, alister wrote: > >> On Tue, 11 Nov 2014 17:35:11 -0800, Ethan Furman wrote: >> >>> On 11/11/2014 05:08 PM, Ben Finney wrote: >>>> Ethan Furman writes: >>>> >>>>> My wife (using a Win7 machine) will be on a web page that has a link >>>>> to mail somebody. She clicks on it, and it opens the currently >>>>> installed but unused Thunderbird. >>>>> >>>>> Ideally, what would happen is a new window/tab would open to gmail >>>>> with a new compose window with the email address in place and the >>>>> cursor in the subject line. There are plugins on chrome to make gmail the mail client. Firefox I think has a setting to do the same. You should look into the browser/OS settings before rolling your own, since using python means setting up a web site.. all this to pick the default mail client? >>>> >>>> What is the Python question? I can't see anywhere that you would be >>>> using Python code to address this. >>> >>> Really? Huh. >>> >>> Okay, the explicit Python question: Clicking on a mail link in a web >>> browser can start an external program. I would like that external >>> program to be a Python script that: opens a new tab in the currently >>> running browser (or a new default browser window), loads up the default >>> web mail client (or one specified if there is no way to know/have a >>> default), navigates to the compose pane (or starts there if possible), >>> enters in the email address from the link that was passed to it, and, >>> if not too much more, move the cursor to the subject field. >>> >>> Surely this can be done in Python. >> >> any chance you could fix your broken news reader? > > Apologies, all posts seem broken today. I am not sure of the cause yet > > > > -- > Boren's Laws: > (1) When in charge, ponder. > (2) When in trouble, delegate. > (3) When in doubt, mumble. > -- > https://mail.python.org/mailman/listinfo/python-list -- Joel Goldstick http://joelgoldstick.com