On 8/31/05, The Rasterman Carsten Haitzler <[EMAIL PROTECTED]> wrote: > On Wed, 31 Aug 2005 11:21:32 +0800 Didier Casse <[EMAIL PROTECTED]> > babbled: > > > Hi all, > > I have a question. I'm automating certain things at the > > moment and I wanted to know how we can determine the window class via > > command line for a particular app? Please don't tell me to execute > > xprop WM_CLASS|cut -d \, -f 2 and click on every single window that I > > find! > > execute and use xprop etc. there is no way to find out otherwise as the CODe > in > the APP SETs the property - and it may be set to any number of things. it may > have nothnig to do with the executable as the exe may wrap other executables > etc. it may use sdl to display and sdl loves to set menaingless names and > classes of SDL etc. :) every app will vary. beware! :) >
Thanks for the reply mate. But this really sucks! :( Maybe we should compile a huge list of window classes for every apps that people are using and generate a text file. So that the next person who wants to build let's say 250 eaps on the fly can instruct it's script to just read the window class from the text file and move on. It's a wild idea but at least it's one. I've concocted some pretty nice scripts but without getting a proper window class, they are pretty much useless. -- With kind regards, Didier. ------------ Yum/apt repository for DR17/EFL: http://sps.nus.edu.sg/~didierbe Didier F.B Casse PhD candidate, Singapore Synchrotron Light Source (SSLS) National University of Singapore. ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel