Re: how to add comments to files (themselves)?

HaJo Schatz <[email protected]> Sun, 06 Sep 2009 11:26:11 +0900
Newsgroups gmane.comp.gnome.apps.gqview.user
Organization Hajo.net
Message-ID <[email protected]>
Florian Hollerweger wrote:
> Using GQview's awesome external editor functionality, I have tried 
> various voodoo using 'jhead -ce' and 'wrjpgcom' - in the hope that I 
> would get an external editor window to open into which I could write my 
> comment. However, I didn't get this to work.
>
> Any ideas on how this could be implemented?
>   
You could write a small shell script, calling e.g. zenity to fetch the 
user's input in a dialog box, then write it to the file with, as you 
suggested, jhead or similar.

-- 
HaJo Schatz <[email protected]>
http://www.HaJo.Net

PGP-Key:  http://www.hajo.net/hajonet/keys/pgpkey_hajo.txt


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july