Thanks. It is what I need. Than
On Mon, May 2, 2011 at 4:23 PM, brian powell <briangpowel...@gmail.com> wrote: > * This is what I use (thanks to whomever wrote the original): > > (defun org-screenshot () > "Take a screenshot into a time stamped > unique-named file in the same directory as the org-buffer and insert a > link to this file." > (interactive) > (setq filename > (concat > (make-temp-name > (concat (buffer-file-name) > "_" > (format-time-string > "%Y%m%d_%H%M%S_")) ) ".png")) > (call-process "import" nil nil nil filename) > (insert (concat "[[" filename "]]"))) > > ** Works great for me, puts a timestamp on it and the filename. > > ** Also, notice the ".png": > > *** The link above suggests ".jpg" (as the default)--which is great > for most things; except, JPG is a lossy compression format, but it > does load faster. > > **** http://www.turnkeylinux.org/blog/png-vs-jpg > >