[Gambas-user] active window howto and little example program

2020 sylvain.marleau at ...647...
Fri Jan 25 02:54:13 CET 2008


Hi Stefano, I test your module with Gambas2 on xubuntu 7.10 and got the
script error "Out of Bounds".
Sylvain Marleau


Stefano Palmeri wrote:
> 
> Hi, all. Hi, Benoit
> 
> We discussed about the current active window on desktop 
> and how to get it. 
> 
> I wrote a little project that returns the ID and the title
> of the current active window. Also returns all current windows.
> The project uses xprop and xwininfo, which should be installed
> on any system running the X server. No need for other external programs. 
> 
> I tested it under KDE, but should work
> under other desktop managers.
> Hope this helps Kim and other users.
> 
> Benoit, is it possible to put it under examples, because
> many times in the mailing list people asked for a way to get the active 
> window? 
> 
> Best regards,
> 
> Stefano Palmeri
> 
>  
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> 
http://www.nabble.com/file/p15079550/OutOfBounds.png 
-- 
View this message in context: http://www.nabble.com/active-window-howto-and-little-example-program-tp15071256p15079550.html
Sent from the gambas-user mailing list archive at Nabble.com.





More information about the User mailing list