From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell Adams Subject: Re: insert picture feature request. Date: Mon, 2 May 2011 08:28:32 -0500 Message-ID: <20110502132832.GD18788@x201> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:34747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGtBC-0006tN-NR for emacs-orgmode@gnu.org; Mon, 02 May 2011 09:28:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QGtBB-0006uZ-By for emacs-orgmode@gnu.org; Mon, 02 May 2011 09:28:50 -0400 Received: from jack.asmallorange.com ([74.52.119.82]:49974) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGtBB-0006u2-7Q for emacs-orgmode@gnu.org; Mon, 02 May 2011 09:28:49 -0400 Received: from m422436d0.tmodns.net ([208.54.36.66] helo=localhost) by jack.asmallorange.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1QGtB5-000ipi-Rx for emacs-orgmode@gnu.org; Mon, 02 May 2011 09:28:44 -0400 Content-Disposition: inline In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On Mon, May 02, 2011 at 02:42:41PM +0200, Piter_ wrote: > Hi all. > I use org-mode for making note while reading articles. > Sometimes I want to insert picture into notes. Now it takes to much > time. I have to copy paste it into picture editor, save it and than > make a link to it. > I would like to do it in other way. Copy picture into clipboard (from > pdf reader for example), and than run a function in emacs which will > ask for file name, save the picture from clipboard into preset folder > and insert link into org file for it. > I have found those links. > http://stackoverflow.com/questions/1868734/how-to-copy-to-clipboard-with-x11 > http://stackoverflow.com/questions/3571179/how-does-x11-clipboard-handle-multiple-data-formats > > About handling clipboard images from python. > I think it is possible to write a simple python script which can save > clipboard picture into file, and than some lisp function which do all > I described above using this script. > Unfortunately I dont know python and lisp on level which allow me to > do it fast end easy. So I ask if someone can do it. I think it would > be useful addition for org-mode. May be even someone have implemented > it, or made another work arround this problem. > Thanks. > Petro. > P.S. Sorry if you get two copies of request. I had some troubles with > sending it and may sent two versions of this mail. > There was a discussion with a working solution not long ago for taking screenshots and inserting them into org automatically. http://comments.gmane.org/gmane.emacs.orgmode/33770 I suspect the code is on worg. Enjoy. ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3