Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   How to attach screen shot in elog, posted by weiluo on Tue Dec 2 01:10:39 2008 
    icon2.gif   Re: How to attach screen shot in elog, posted by Stefan Ritt on Tue Dec 2 10:20:52 2008 
       icon2.gif   Re: How to attach screen shot in elog, posted by weiluo on Tue Dec 2 17:10:05 2008 
          icon2.gif   Re: How to attach screen shot in elog, posted by Stefan Ritt on Tue Dec 2 17:15:36 2008 
             icon2.gif   Re: How to attach screen shot in elog, posted by weiluo on Tue Dec 2 17:18:10 2008 
Message ID: 66093     Entry time: Tue Dec 2 17:18:10 2008     In reply to: 66092
Icon: Reply  Author: weiluo  Author Email: lwsy711@gmail.com 
Category: Question  OS: Linux  ELOG Version:  
Subject: Re: How to attach screen shot in elog 

Stefan Ritt wrote:

 

weiluo wrote:

 

Stefan Ritt wrote:

 

weiluo wrote:

I want to know if there were some way to insert a screen shot directly into the log book instead of going through the "save-attach" procedure. i.e. add some plug in button to do this under Linux?

Or, can I just make a plain log file "xxxx.log" and put it into the directory? Will that work?

Thanks

 

You cannot directly paste a screen shot into an elog entry. Use HoverSnap (Windows) or ksnapshot (linux) to produce directly an image file, then you need only two mouse clicks (browse and select file). There is also an Add-On for FireFox called "dragdropupload" which can be used for drag-and-drop a file into the attachment file selector. 

 

 I see. But what I want to do now is writing a script to make a elog entry, is that possible? I mean, I don't know if the log entry I generated could be recognized by elog.  e.g. the following text is generated by me, no through elog, is there a way to let them shown on elog?

Date: Mon, 01 Dec 2008 18:45:21 -0500
Author: Anonymous
Author Email: $user_email
Category: Shift summary
Subject: test
Attachment: 081201_184113_bigcal_014.jpg
Encoding: HTML
========================================
test

 

 For what you need you can use the "elog" utility, as described in https://midas.psi.ch/elog/userguide.html at the bottom. Using the "-f" option you can add attachments there.

 Got it! This is exactly what I need, thanks a lot!

ELOG V3.1.5-fe60aaf