From owner-freebsd-java@FreeBSD.ORG Fri Jun 8 14:10:05 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C0A5D16A468 for ; Fri, 8 Jun 2007 14:10:05 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out1.tiscali.nl (smtp-out1.tiscali.nl [195.241.79.176]) by mx1.freebsd.org (Postfix) with ESMTP id 870B413C44C for ; Fri, 8 Jun 2007 14:10:05 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from [82.171.39.195] (helo=guido.klop.ws) by smtp-out1.tiscali.nl with smtp (Tiscali http://www.tiscali.nl) id 1Hweu3-0001ln-IE for ; Fri, 08 Jun 2007 15:53:23 +0200 Received: (qmail 38235 invoked from network); 8 Jun 2007 13:53:18 -0000 Received: from localhost.thuis.klop.ws (HELO guido.klop.ws) (127.0.0.1) by localhost.thuis.klop.ws with SMTP; 8 Jun 2007 13:53:18 -0000 Date: Fri, 08 Jun 2007 15:53:17 +0200 To: freebsd-java@freebsd.org From: "Ronald Klop" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <20070608131831.GA65557@rebelion.Sisis.de> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <20070608131831.GA65557@rebelion.Sisis.de> User-Agent: Opera Mail/9.21 (FreeBSD) Subject: Re: Extracting text from a Java application X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2007 14:10:05 -0000 On Fri, 08 Jun 2007 15:18:31 +0200, Matthias Apitz wrote: > > Hello, > > I've bought some kind of Java application, the Spanish Dictionary, > which was originally written for Linux RedHat. With some tweaking > of the boot-up script LAXUNIX.SH - LaunchAnywhere (tm) I managed to > run it as well in FreeBSD 6.x > > The Dictionary has on the right part of the screen a list of all > (official known by The Real Academy) words of the Spanish language > and it would be nice to have this list as a plain text file to > integrate is with 'ispell' in FreeBSD. The words are click-able, > on click the background colour changes and the explanation for the > word is presented in the right part of the application. I've put > a screen-shoot to my web space so you will get an idea: > http://www.unixarea.de/drae.jpg > > I'm only interested in the word list of the left side, but I can't > see any way to get it cut&pasted. I've already investigated a bit > the X11 traffic to the server and this could be the last option > to pull the words out... any other idea from the Java gurus? > > Thx in advance > > matthias If I made such an application I would include a text file with all the words. So no need to trick the application to capture X11 traffic. You can also try the tool strings(1) to extract words from the files in the application. But I thick you should first read the license of the application if the creator of the application likes you to do this. Ronald. -- Ronald Klop Amsterdam, The Netherlands